Ask a Question

command line

Occasional Contributor

command line

Hi There, How to show my command line on the log on the same line?


An example


C:\Program Files (x86)\SmartBear\TestExecute 12\x64\Bin\TestExecute.exe" D:\AHmed\HPRunner\HPRunnerProjetSuite.pjs /r /p=RunnerProjet /t="Script|Unit1|Starter" /e Browser= TestEnv= Password=01 User=cmgrtest TestID=311111


Thank you 

Esteemed Contributor

I'm not sure I understand what you're asking.  I see the command line that you are using, but I don't understand what you mean by showing it on the log?  Do you want to write it to the log file on execution?  If so, you will need to manually call a "Log.Message" call and pass it the command line string from the running TestExecute instance (Sys.Process('TestExecute').CommandLine)

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Community Hero

You can not just like that show up the command line which you used to trigger the TestComplete.


But there is way to get the all the Command line parameters which is






Shankar R

LinkedIn | CG-VAK Software | Bitbucket |

“You must expect great things from you, before you can do them”

Extension Available

Showing results for 
Search instead for 
Did you mean: