Showing posts with label Testing. Show all posts
Showing posts with label Testing. Show all posts

Friday, February 01, 2013

Testing using Selenium, Eclipse, JUnit

  1. Use firefox plugin for selenium to
    1. record in firefox
  2. Export test case as Java JUnit class
  3. Start Selenium standalone server
    1. C:\apps\selenium>java -jar selenium-server-standalone-2.28.0.jar
  4. Import test case into Java project
  5. Add jars in C:\apps\selenium\selenium-2.28.0\libs to JUnit test classpat
  6. Run Junit test