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 /te...
  • tristaanogre's avatar
    5 years ago

    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