I've been trying to make sense of the documentation that describes how to
use the selenium maven plugin and I've gotten to the point where I can run a
test case, against my currently running web app. However, the test case is a
java class. What I want to be able to do is run a set of selenese test cases
against the application.

I can't seem to figure out how to set up my pom file to use the plugin to
get this to work.  Can someone either point me to a simple example that I
can ponder over till I figure it out, or better still give me a quick
overview of how this should be set up.

This is what I currently have set up in my pom:


            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>selenium-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>two</id>
                        <phase>verify</phase>
                        <configuration>
                            <selenese>

<suite>src/test/resources/TestSuite.html"</suite>
                                <browser>*firefox</browser>
                                <port>9999</port>

<results>${project.build.directory}/target</results>
                                <startURL>http://localhost:8080/myweb/app
</startURL>
                            </selenese>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

That's clearly not working. Any help would be appreciated.


Tony Giaccone

Reply via email to