views:

605

answers:

1

Hi,

i'm trying to set up the selenium-maven-plugin and having some difficulties i hope somebody can help me. My configuration looks like this:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>selenium-maven-plugin</artifactId>
  <executions>
    <execution>
      <phase>pre-integration-test</phase>
      <goals>
    <goal>start-server</goal>
    <goal>selenese</goal>
      </goals>
      <configuration>
    <background>true</background>
    <browser>*firefox</browser>
    <results>src/test/resources/selenium/result.html</results>
    <startURL>http://localhost/MyProject&lt;/startURL&gt;
    <suite>src\test\resources\selenium\Testsuite.html</suite>
      </configuration>
    </execution>
  </executions>
</plugin>

I have cargo setup as well which works perfectly. However the start-server goal runs without problems but when maven tries to execute the selenium:selenese goal i get this exception: Could not find matching constructor for: org.openqa.selenium.server.SeleniumServer(java.lang.Integer, java.lang.Boolean, java.lang.Boolean)

An suggestions? Thanks in advance for your help.

+2  A: 

its bug in selenium

http://jira.codehaus.org/browse/MSELENIUM-43

download new version

01