我不明白这里出了什么问题 我关闭了所有标签,这让我很害怕
如果我有上帝的蝙蝠路径,我允许不支持它应该是这个文件 pat 还是一个空文件路径
<?xml version="1.0" encoding="UTF-8"?>
<project>
<project name="Run Test" default="run_test" basedir=".">
<property name="test.dir" value="src\test" />
<property name="testLibDir" value="lib" />
</project>
<target name="start-server">
<java jar="lib/selenium-server.jar"
fork="true" spawn="true">
</java>
</target>
<target name="stop-server">
<get taskname="selenium-shutdown"
src="http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer"
dest="result.txt" ignoreerrors="true" />
<echo taskname="selenium-shutdown" message="DGF Errors during shutdown are expected"/>
</target>
<target name="run_test" description="Start Proxy ; Run Test ; stop Proxy">
<parallel>
<antcall target="start-server">
</antcall>
<sequential>
<echo taskname="waitfor" message="Wait for proxy server launch" />
<waitfor maxwait="2" maxwaitunit="minute" checkevery="100">
<http url="http://localhost:4444/seleniumserver/driver/?cmd=testComplete"/>
</waitfor>
<antcall target="run_test">
</antcall>
<antcall target="stop-server">
</antcall>
</sequential>
</parallel>
</target>
<schedule>
<ant antscript="D:\Automation\eclipse\Workspace2\testing.bat"
antworkingdir="D:\Automation\eclipse\Workspace2\Test2"
buildfile="build.xml"
uselogger="true"
usedebug="false"/>
</schedule>
</project>
已编辑