tinauser
14 years agoFrequent Contributor
run several TC commands from command line
Hallo,
I know how to run a project, or even a unit from command line. I also know how to delay two commands from the command line.
The question is, if I have more project to run, shall I always close and re-open the application?
example
start /wait "TestExecute"
"C:\Program Files\Automated QA\TestExecute8\Bin\TestExecute.exe" "C:\Work\My
Projects\MySuite.pjs" /r /p:MyProj /u:Unit1 /rt:F1 /exit /SilentMode
start /wait "TestExecute"
"C:\Program Files\Automated QA\TestExecute8\Bin\TestExecute.exe" "C:\Work\My
Projects\MySuite.pjs" /r /p:MyProj /u:Unit1 /rt:F1 /exit /SilentMode
This will work but:
1. It will open and close the application two times
2. It will load the log file two time
Is not possible to open the application only once and close only at the end?
Is not possible to prevent TestExecute to load the log at the end of the run?
Thanks
I know how to run a project, or even a unit from command line. I also know how to delay two commands from the command line.
The question is, if I have more project to run, shall I always close and re-open the application?
example
start /wait "TestExecute"
"C:\Program Files\Automated QA\TestExecute8\Bin\TestExecute.exe" "C:\Work\My
Projects\MySuite.pjs" /r /p:MyProj /u:Unit1 /rt:F1 /exit /SilentMode
start /wait "TestExecute"
"C:\Program Files\Automated QA\TestExecute8\Bin\TestExecute.exe" "C:\Work\My
Projects\MySuite.pjs" /r /p:MyProj /u:Unit1 /rt:F1 /exit /SilentMode
This will work but:
1. It will open and close the application two times
2. It will load the log file two time
Is not possible to open the application only once and close only at the end?
Is not possible to prevent TestExecute to load the log at the end of the run?
Thanks