Forum Discussion

Naveenkr36's avatar
Naveenkr36
New Contributor
5 years ago
Solved

how to execution scripts in test complete from command line?

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?

  • 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

2 Replies