cissy
14 years agoOccasional Contributor
How to use ANT to start TestComplete
I will do automation test by using TestComplete and I want to use ANT to create some target.
So my question is that I want to create a target in build.xml of ANT, in the target, I want to start TestComplete.exe
<target name="runTEProjects">
<exec executable="C:\Program Files\Automated QA\TestComplete 8\Bin\TestComplete.exe">
<arg value="start"/>
<arg value="/wait"/>
<arg value="D:\MyProject\MyProject.pjs"/>
<agr value="/run"/>
<agr value="/exit"/>
</exec>
</target>
But it can not work, so I want to know whether ANT can identify TestComplete and how to create the target?
Thanks!
So my question is that I want to create a target in build.xml of ANT, in the target, I want to start TestComplete.exe
<target name="runTEProjects">
<exec executable="C:\Program Files\Automated QA\TestComplete 8\Bin\TestComplete.exe">
<arg value="start"/>
<arg value="/wait"/>
<arg value="D:\MyProject\MyProject.pjs"/>
<agr value="/run"/>
<agr value="/exit"/>
</exec>
</target>
But it can not work, so I want to know whether ANT can identify TestComplete and how to create the target?
Thanks!