Take the 2-minute tour ×

Is there an existing for loading recorded Selenium tests and running them from Java? The only two main constrictions are:

  1. Tests are recorded in Selenium IDE (v 1.5),
  2. Tests can be called from Java (or more specifically JUnit or TestNG).
share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

You can save a test suite in Selenium IDE (it will it will contain information about test cases) and run it with Selenium Server Standalone.

java -jar selenium-server-standalone-2.15.0.jar -htmlsuite "*firefox" "http://yourpage.com" "path/to/testsuite" "path/to/result.html"
share|improve this answer
add comment

Tests recorded in Selenium IDE can be exported to Java using JUnit assertions. See http://seleniumhq.org/docs/02_selenium_ide.html#test-case-pane

share|improve this answer
add comment

Your Answer


