Java Apache Continuum在selenium测试期间不打开Mozzila
我对连续体没什么问题。当我尝试从命令行运行ant脚本时,一切正常。但当我尝试使用continuum中的ant脚本时,问题出现了。Firefox不想打开,只有等待。一定有什么东西挡住了,但我不知道是什么 这是我的蚂蚁片段:Java Apache Continuum在selenium测试期间不打开Mozzila,java,selenium,ant,Java,Selenium,Ant,我对连续体没什么问题。当我尝试从命令行运行ant脚本时,一切正常。但当我尝试使用continuum中的ant脚本时,问题出现了。Firefox不想打开,只有等待。一定有什么东西挡住了,但我不知道是什么 这是我的蚂蚁片段: <target name="start_selenium" depends="tomcat_start"> <echo>Starting selenium server</echo> <tstamp>
<target name="start_selenium" depends="tomcat_start">
<echo>Starting selenium server</echo>
<tstamp>
<format property="TSTAMP" pattern="yyyy_MM_dd_HH_mm"/>
</tstamp>
<java jar="${apl.dir}/eleniumTests/selenium-server-standalone-2.33.0.jar" fork="true" failonerror="true">
<arg line="-firefoxProfileTemplate"/>
<arg line="/home/local/seleniumFirefox"/>
<arg line="-htmlSuite"/>
<arg line="*firefox"/>
<arg line="http://127.0.0.1:8083/"/>
<arg line="${apl.dir}/SeleniumTests/suiteTest.html"/>
<arg line="FirefoxResult.html"/>
</java>
</target>
而不是,使用
那对我没有帮助。在启动firefox时,selenium服务器仍会暂停。
<java jar="${apl.dir}/eleniumTests/selenium-server-standalone-2.33.0.jar" fork="true" failonerror="true">
<arg value="-firefoxProfileTemplate"/>
<arg value="/home/local/seleniumFirefox"/>
<arg value="-htmlSuite"/>
<arg value="*firefox"/>
<arg value="http://127.0.0.1:8083/"/>
<arg value="${apl.dir}/SeleniumTests/suiteTest.html"/>
<arg value="FirefoxResult.html"/>
</java>