This patch is applyed to the trunk that modifies pom.xml and added one test sample.
What you need to setup environment:
1. Download and install Firefox 3.0.x
2. Check out selenium-ide from trunk and build it and install to Firefox (you may also download the 1.0b2)
3. Check out selenium-rc from trunk and build it (there shoud be SNAPSHOT-1.0 version) (some tests are failed but it's ok)
4. Apply patch
5. Run selenium-rc from the selenium-rc-trunk\selenium-server\target\selenium-server-1.0-SNAPSHOT-standalone.jar
(on Windows) start "" java -jar selenium-server-1.0-SNAPSHOT-standalone.jar -interactive
6. Start MySQL
7. Start tomcat and deploy itracker on http://localhost:8080/itracker
8. Run mvn -Dtest=ForgotPasswordTest test
9. To run test with Eclipse must add selenium-rc-trunk\clients\java\target\selenium-java-client-driver-1.0-SNAPSHOT.jar to the project's build path.
10. if you run as maven test then you'll see that UI test is started after the unit tests in the integration phase.
maven configuration for selenium test
Roman, the task of integrating selenium in first place will be done by Andrey, as discussed on Nov. 19 on the Group rosa.rosa.devel@news.odesk.com. Please stand by, doing the same job too. Thank you.
Ok, once it done, let us begin testing.
Roman,
We already have a Task concerning Selenium Testing, so please stand by.
By the way, we do want automated testing, not have to start Tomcat, MySQl or prepare other stuff manually, it must run when project is beeing built, depending on a certain profile.
Please, apply 2327298_selenium_forgot_password.patch .
Task "2364473 Selenium automation test: View Portalhome" contains a joined patch with this testcase also.
Has been applied and successfully tested on SVN Trunk