Is anyone using Selenium for functional testing of webapps? After hearing about it a while ago, I finally had a chance to see it in action at a NFJS show last weekend. Of course, the first order of business was getting it to work with a Maven build.
Selenium is not in a Maven repository that I could find, so I installed the zip in my local repository with mvn install:install-file ... -Dpackaging=zip. I added a profile which uses dependency-maven-plugin to unzip the Selenium distribution under 'target', and maven-antrun-plugin to copy both the selenium 'core' directory and my src/test/selenium folder containing the tests into the webapp. The pom with the configuration (profile id=selenium) is here: http://svn.apache.org/repos/asf/shale/framework/trunk/shale-apps/pom.xml (That pom also has the Cargo plugin configuration which starts Tomcat and deploys the app.) More information on installation and how to run the tests for Shale Mailreader can be found here: http://shale.apache.org/shale-apps/selenium.html Suggestions and questions are welcome. :) I didn't find anything in the archives, but I can't possibly be the first one to do this... -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
