Menu

#110 Selenium automation test: forgot_password

V3.0_fp1
closed
Marco
None
5
2012-09-18
2008-11-22
No

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.

Discussion

  • Roman Chepelyev

    Roman Chepelyev - 2008-11-22

    maven configuration for selenium test

     
  • Marco

    Marco - 2008-11-24

    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.

     
  • Roman Chepelyev

    Roman Chepelyev - 2008-12-01

    Ok, once it done, let us begin testing.

     
  • Marco

    Marco - 2008-12-01

    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.

     
  • Andrey

    Andrey - 2009-01-26

    Please, apply 2327298_selenium_forgot_password.patch .

     
  • Andrey

    Andrey - 2009-01-30

    Task "2364473 Selenium automation test: View Portalhome" contains a joined patch with this testcase also.

     
  • Marco

    Marco - 2009-01-30

    Has been applied and successfully tested on SVN Trunk

     

Log in to post a comment.