Jason Dillon wrote:
>
> Release Notes - Maven 2.x Selenium Plugin - Version 1.0-rc-1
>
> ** Bug
> * [MSELENIUM-41] - Add support for -singleWindow argument to
> starting selenium server.
>
> ** Improvement
> * [MSELENIUM-42] - upgrade to Selenium 1.0-beta-2
>
> --jason
>
I'm trying to use this plugin on OS X 10.5.6 with Java 1.5.0_16 and Maven
2.0.9. On startup, I get the following error:
java.net.BindException: Selenium is already running on port 4444. Or some
other service is.
However, nothing is running on this port. Any ideas? Here's my plugin
config:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>1.0-rc-1</version>
<configuration>
<browser>*firefox</browser>
<suite>src/test/resources/selenium/TestSuite.html</suite>
<startURL>http://${cargo.host}:${cargo.port}/</startURL>
</configuration>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>start-server</goal>
</goals>
<configuration>
<background>true</background>
</configuration>
</execution>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>selenese</goal>
</goals>
</execution>
</executions>
</plugin>
I also tried using Ant and the selenese task.
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>launch-selenium</id>
<phase>integration-test</phase>
<configuration>
<tasks>
<taskdef resource="selenium-ant.properties">
<classpath refid="maven.plugin.classpath"/>
</taskdef>
<selenese
suite="src/test/resources/selenium/TestSuite.html"
browser="*firefox" timeoutInSeconds="180"
port="5555"
results="${project.build.directory}/selenium-firefox-results.html"
startURL="http://${cargo.host}:${cargo.port}/"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium.server</groupId>
<artifactId>selenium-server</artifactId>
<version>1.0-beta-2</version>
</dependency>
</dependencies>
</plugin>
However, this results in a 404 to /selenium-server/tests/TestSuite.html when
the browser fires up.
Any help is appreciated.
Matt
--
View this message in context:
http://www.nabble.com/-ANN--Selenium-Maven-Plugin-1.0-rc-1-released-tp21541551p21599054.html
Sent from the mojo - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email