Forum Discussion

Typoo's avatar
Typoo
Occasional Contributor
7 years ago
Solved

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 

  • 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)

2 Replies

  • tristaanogre's avatar
    tristaanogre
    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)