I've lately started using Selenium IDE to do automated testing. It's one of those things I've started a few times and then gotten impatient and dropped before I really got any benefit.
On the current project I'm working on, however, every time I add a feature to the site, I add a suite of automated tests. So let's say I add a gallery feature, my tests might go like this
-Login as site admin
- go to the edit page and verify that elements x, y, and z are present
- go to the view page and verify that elements x, y and z are present
-Login as site editor
- go to the edit page and verify that elements x and y are present, but z is not
- go to the view page and verify that elements x, y and z are present
-Logout (so anonymous visitor)
- go to edit page. Verify that it's a 403
- go to the view page. Verify that elements x and y are present.
Now let's say I've been doing this right from the get go, so every feature on the site has viable test data and a set of tests.
Now I add a new feature or I change something that impacts the galleries. Did I remember to update everything to take the change into account?
Old method: click around until I'm satisfied and hope I didn't miss something.
New method: open the Firefox Selenium IDE plugin, load the test suite for the site, start the tests, go have a cup of tea, come back and see if anything failed.
[edited by: ergophobe at 5:25 am (utc) on May 6, 2014]