Forum Discussion

priyalmistry4's avatar
priyalmistry4
Occasional Contributor
5 years ago
Solved

Command line: The TestComplete is launched with the  correct project but it is not executed.

Hello,

While attempting to run a specific keywordTest using the command line I am running the below command :

"C:\Users\qa-user\Documents\TestComplete 14 Projects\VIP\VIP.pjs" /r /project:VIP /test: "KeywordTests|Test1"

or commend : "C:\Users\qa-user\Documents\TestComplete 14 Projects\VIP\VIP.pjs" /r /project:VIP to run all the test items 

 

The TestComplete is launched with the  correct project but it is not executed.

Also, when I double click on TesteExecute shortcut, a prompt is displayed stating 'It is already running.'

 

Not sure what is missing.

 

Thank you!

 

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Right... because the command line needs to be the executable that you want to run, NOT the project.

     

    So, change your commandline to

     

    "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" "C:\Users\qa-user\Documents\TestComplete 14 Projects\VIP\VIP.pjs" /r /e /project:VIP

     

    or 

     

    "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" "C:\Users\qa-user\Documents\TestComplete 14 Projects\VIP\VIP.pjs" /r /e /project:VIP /test: "KeywordTests|Test1"

     

    Reference https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/command-line.html