Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Using Selenium for functional testing of webapps, with Maven

The following profile comes from the parent pom for the Apache Shale example apps.

See this page for more information:

With Maven 2.0.4, putting both plugin executions in the process-resources phase did not work-- they were executed in the wrong order and so the build failed as Selenium had not yet been unzipped when antrun tried to copy the files. Moving the dependency-maven-plugin execution to generate-sources fixed the problem, but this should not have been necessary. See

                        <copy todir="${}/${artifactId}/selenium/core">
                           <fileset dir="${}/selenium/core"/>
                        <copy todir="${}/${artifactId}/selenium/tests">
                           <fileset dir="${basedir}/src/test/selenium"/>

Using Selenium Maven Plugin and Cargo

Another way to run Selenium tests can be seen at Continuum web tests.

  • No labels