Forum Discussion

irattan's avatar
irattan
Occasional Visitor
12 years ago

Command line TestComplete

Hi,

I am using TestComplete-10.20. In one project suite, I have many projects. I want to schedule a batch to run the multiple projects from a Project Suite.

Please suggest how can I define a command In a batch file to run multiple projects?



The following works fine but runs only one project as defined below.

For example, "C:\Program Files\SmartBear\TestComplete 10\Bin\TestComplete.exe" "\\ABCSERVER3\AutomatedQA\TestCompleteProjectSuites\Development\Applications\ABC Administrator\10.03.0\ABC Administrator TK\ABCAdminTK.pjs" /r /

p:ReferenceCodes/

el:\\ABCSERVER3\AutomatedQA\TestCompleteErrorLogs\ReferenceError.log /exit



Thanks,

Isha Rattan

1 Reply

  • Hi Isha,

     


    Here is one of the possible approaches:


    You can specify what projects should be executed in a project suite's Test Items (details) and use the following command line:


    "C:\Program Files\SmartBear\TestComplete 10\Bin\TestComplete.exe" "\\ABCSERVER3\AutomatedQA\TestCompleteProjectSuites\Development\Applications\ABC Administrator\10.03.0\ABC Administrator TK\ABCAdminTK.pjs" /r /e