Forum Discussion
cissy
14 years agoOccasional Contributor
Function: use ANT to call TC
My build.xml
<project name="AutomatedCoverage" basedir=".">
<property name="TestComplete.home" value="C:\Program Files\Automated QA\TestComplete 8\Bin"/>
<target name="runTCProjects">
<exec executable="${TestComplete.home}\TestComplete.exe">
<arg value="start"/>
<arg value="/wait"/>
<arg value="D:\MyProject\MyProject.pjs"/>
<arg value="/run"/>
<arg value="/exit"/>
</exec>
</target>
</project>
And I have a question, on the above project, TC just could run one project one time, and I want to know wether TC could run several project suits one time?
My build.xml
<project name="AutomatedCoverage" basedir=".">
<property name="TestComplete.home" value="C:\Program Files\Automated QA\TestComplete 8\Bin"/>
<target name="runTCProjects">
<exec executable="${TestComplete.home}\TestComplete.exe">
<arg value="start"/>
<arg value="/wait"/>
<arg value="D:\MyProject\MyProject.pjs"/>
<arg value="/run"/>
<arg value="/exit"/>
</exec>
</target>
</project>
And I have a question, on the above project, TC just could run one project one time, and I want to know wether TC could run several project suits one time?