How can I run Selenese HTML tests using Selenium 2.0 and Maven?

I have a series of HTML tests that I can run using the selenese target, selenium-maven-plugin (version 1.1). I was able to run this for IE. However, this does not work with Firefox 4. I continue to open an empty firefox window, and the server will just be there. I believe that I narrowed down the issue to the point that the Selenium-maven-plugin uses the old Selenium 1.0 Core, which does not work properly with Firefox 4.

I was wondering if there is any way using Maven and Selenium 2.0 to run these HTML tests. Below is a snippet of my POM file.

     ...    
     <plugins>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>selenium-maven-plugin</artifactId>
            <version>1.1</version>
            <configuration>
                <browser>*iexploreproxy</browser>
                <suite>src/test/selenium/html/suite.html</suite>
                <startURL>http://localhost:5555/</startURL>
                <port>5555</port>
            </configuration>
            <executions>
                <execution>
                    <id>Run-Selenese-Scripts</id>
                    <phase>integration-test</phase>
                    <goals>
                        <goal>selenese</goal>
                    </goals>
                    <configuration>
                        <port>5555</port>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
    ...

If there is any other way to run HTML sets (besides the Selenium IDE) that I might have missed, share it.

Thank,

Juan

+3
1

OSX. firefox 4 - firefox, selenium . , ( OSX ) - 2.0b3.

2.0b3 github: https://github.com/thelmstedt/selenium-maven-plugin. YMMV

selenium selenium-maven-plugin: . jira -, .

maven, , 2.0b3. 2.0b1 2.0b3. <type>pom</type>. , , .

0

All Articles