Selenium is an excellent open source tool to test your website automatically, right from your browser. The test scripts are written as plain HTML files, which makes them easy to read, edit, and understand. BUT, it’s even easier than that. There’s an IDE for developing these tests.
We used to use a different tool, but we found one that’s MUCH better. It’s called Selenium IDE. It’s a plugin to Mozilla Firefox. You can watch this video about how easy it is to record Selenium tests with Selenium IDE.
Install Selenium IDE
Once you’re ready to start, you can download Selenium IDE. (When you click, you’ll see a yellow bar near the top of the page that says Firefox requires you to allow Extensions to be installed from openqa.org. Click the
Edit Options... button to allow the installation.)
Glimpse the Future
These automated tests are great, but sometimes we have trouble because they rely on specific data. This video shows an example of what is possible. The example is done in Ruby, so try to ignore that part if you’re not comfortable with Ruby. Watch, though, as it moves into automated acceptance tests that setup the database, click through the application, and do it in both Firefox and Internet Explorer. This is the vision that we have for automated acceptance testing. Enjoy.