我正在尝试在Bamboo中集成Selenium测试。我能够在Windows机器上调用测试但是当我尝试在Unix服务器上复制相同的测试时,我收到以下错误:
*rror 29-Aug-2012 17:03:54 17:03:54.792 WARN - Caution: '/usr/bin/google-chrome': file is a script file, not a real executable. The browser environment is no longer fully under RC control
build 29-Aug-2012 17:03:54 17:03:54.803 INFO - Launching Google Chrome...
build 29-Aug-2012 17:33:55 17:33:55.319 INFO - Killing Google Chrome...
build 29-Aug-2012 17:33:57 [INFO] ------------------------------------------------------------------------
build 29-Aug-2012 17:33:57 [INFO] BUILD FAILURE
build 29-Aug-2012 17:33:57 [INFO] ------------------------------------------------------------------------
build 29-Aug-2012 17:33:57 [INFO] Total time: 33:21.497s
build 29-Aug-2012 17:33:57 [INFO] Finished at: Wed Aug 29 17:33:57 BST 2012
build 29-Aug-2012 17:33:57 [INFO] Final Memory: 28M/164M
build 29-Aug-2012 17:33:57 [INFO] ------------------------------------------------------------------------
build 29-Aug-2012 17:33:57 [ERROR] Failed to execute goal org.codehaus.mojo:selenium-maven-plugin:2.3:selenese (test) on project iopscience-webapp: Execution test of goal org.codehaus.mojo:selenium-maven-plugin:2.3:selenese failed. SeleniumCommandTimedOutException -> [Help 1]*
我正在使用selenium-maven-plugin来运行selenese测试套装。以下是我的pom.xml的摘录
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>2.3</version>
<configuration>
<browser>*googlechrome</browser>
<suite>Testsuite-UI.html</suite>
<startURL>http://localhost:8082/</startURL>
</configuration>
<executions>
<execution>
<id>test</id>
<phase>integration-test</phase>
<goals>
<goal>selenese</goal>
</goals>
</execution>
</executions>
</plugin>
如果在Linux上运行测试套件有任何特定配置,请告诉我吗?