Running Selenium IDE tests
Selenium IDE allows you to record your clicks within web pages and replay them in Firefox. This is good for functional testing. The test plans are saved in an HTML format.
This recipe shows you how to replay the tests automatically using Maven and then Jenkins. It uses an in-memory X server Xvfb (http://en.wikipedia.org/wiki/Xvfb) so that Firefox can be run on an otherwise headless server. Maven runs the tests using Selenium RC, which then acts as a proxy between the tests and the browser. Although we record with Firefox, you can run the tests with the other browser types as well.
It is beyond the scope of this chapter to discuss Selenium Grid (http://selenium-grid.seleniumhq.org/), other than to note that Selenium Grid ...