Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (19.7k points)

I made then saved a test case with the Firefox extension "Selenium IDE".

Now I want to use the command line to run this exported HTML file.

Please help with this question!

1 Answer

0 votes
by (62.9k points)

You will need the Selenium RC which you can get from: 


And Java 1.5 or higher (Download Java here)

1) Install Java

2) Unpack Selenium RC.

3) Open a cmd.exe window and go to the directory containing the Selenium Server (selenium-remote-control-1.0.1\selenium-server-1.0.1)

4) Run the command below:

java -jar selenium-server.jar -htmlSuite "*firefox" "" "C:\mytestsuite\mytestsuite.html" "C:\mytestsuite\results.html"

This should run your test suite in Firefox and write the results to the html file. Obviously you will need to change the "" argument to your own server (this might just be localhost /

If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, check out Intellipaat’s Selenium training!

Browse Categories