Archive for the 'Selenium Simplified' Category

Using JUnit Nested Suites with Selenium RC to simulate TestNG suite and grouping annotations

When I use TestNG for my Selenium tests, I really like the BeforeSuite and AfterSuite annotations because then I can share a Selenium session amongst the tests. With nested JUnit suites I can achieve a similar effect, and I can also go some way to grouping my tests to make it easier to create browser […]

What if Selenium’s Highlight Command was always on?

A reader asked for recommendations on how to use Selenium’s "Highlight" command. Now I personally don’t use the highlight function. Never really have. When I debug my tests, I step through the script in Eclipse (I write all my tests in Selenium-RC using Java).
But, by using reflection to automatically generate code for a […]

Selenium Example – How to Amend the JavaScript of the Web Application Under Test

Why would you want to change the JavaScript of a web application you have to test? Well, if you want to test that events get triggered correctly and the basic structure of the page rather than the actual functionality implemented by the JavaScript. Perhaps the JavaScript does something that you can’t handle with the automation […]

Hints and Tips for self-publishing testers

On this, barely my third day of self-publishing an electronic ebook. I somehow feel qualified to pass on a few tips to anyone thinking of going down that road.
I quickly learned that I should not use lulu.com to build a wee self-contained community, where you can keep your beta customers up to date with future […]