mvn selenium:seleneseI launched it, but console window freezed and nothing happened.
Looks like it's a problem with Selenium+Firefox 3 (possibly also Ubuntu).
For me, a solution was simple: just change selenium-maven-plugin version to 1.0.1 (which is the most recent stable version at the time of writing). So plugin definition in Roo-generated application's pom.xml will look like
<plugin>The same applies to using Selenium on Ubuntu+Firefox 3 through JUnit tests: I had to use version 1.0.1 of selenium-maven-plugin to make this work.
<groupid>org.codehaus.mojo</groupid>
<artifactid>selenium-maven-plugin</artifactid>
<version>1.0.1</version>
<configuration>
<suite>src/main/webapp/selenium/test-suite.xhtml</suite>
<browser>*firefox</browser>
<results>${project.build.directory}/target/selenium.txt</results>
<starturl>http://localhost:4444/</starturl>
</configuration>
</plugin>
Комментариев нет:
Отправить комментарий