Hi Team,
I have scripts in Test complete, i need to execute those scripts either indivial scripts or all scripts under a project from command line?
Can some one help me how to do this?
Solved! Go to Solution.
Hi,
Yea You can run TestComplete or TestExecute from cmd with this command:
"C:\Program Files (x86)\SmartBear\TestComplete 14\Bin\TestComplete.exe" "C:\work\testComplete\YOUR_PROJECT_NAME.pjs" /r /p:PROJECT_NAME /PARAM1:PARAM1VALUE /PARAM2:PARAM2VALUE /PARAM3:PARAM3VALUE
If you need to run a specific script from TestItems use:
/test:FOLDER_1|FOLDER_2|YOUR_ITEM_NAME
Hi,
Yea You can run TestComplete or TestExecute from cmd with this command:
"C:\Program Files (x86)\SmartBear\TestComplete 14\Bin\TestComplete.exe" "C:\work\testComplete\YOUR_PROJECT_NAME.pjs" /r /p:PROJECT_NAME /PARAM1:PARAM1VALUE /PARAM2:PARAM2VALUE /PARAM3:PARAM3VALUE
If you need to run a specific script from TestItems use:
/test:FOLDER_1|FOLDER_2|YOUR_ITEM_NAME
To add to @Wamboo , documentation for all available commandline codes can be found at https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/... with samples.
Subject | Author | Latest Post |
---|---|---|