Forum Discussion
Hi,
I was successfully able to run using below command,
TestComplete.exe "D:\Users\sramasamy\Desktop\ProjectSuite1\ProjectSuite1.pjs" /run /p:TestProject1 /test:"Group1|Group2|Test2"
And i got the result as like below:
Is there any workaround?
- AlexKaras7 years agoChampion Level 3
> Is there any workaround?
https://community.smartbear.com/t5/TestComplete-General-Discussions/How-to-run-a-specific-test-item-with-command-line/m-p/155747#M28727 ? ;)P.S. Considering that command-line version worked for others...
a) It will definitely not work for TC9 because the option to execute test items from command-line was added to more recent versions of TestComplete;
b) May it be that you have some language-specific or custom regional settings (especially list separators and the like) that make OS or TestComplete to treat pipe (or double-quote) delimiter(s) some non-usual way?
- Adagio7 years agoFrequent Contributor
I do it all the time. you can try this command. You have to use ATR file and the following command and you may have to modify ATR file a little bit based on your needs:
ATR file is available at this location:
C:\batches\ATR.js "C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe" "C:\Users\Public\Documents\GitRepo\TC.Project\Project.Web.pjs" /r /p:Project.Web /t:"T-US" /el:"C:\TestResults\GetResults" /exit /SilentMode
Thank you
Related Content
- 6 months agosohailalam2696
- 12 years agomaxthomassin
- 5 years agonish_b