Skip navigation.

Selenium - initial impressions...

web testing tools
After a period of not being able to find the time to take a look at ThoughtWorks' Selenium I finally had a chance to do it - if only by proxy.

A very talented placement student was made available to my team this week so I took advantage of this by assigning her the task of conducting some experiments on my behalf with several open source web-testing tools.

On Friday we started looking at Selenium... I did get to take a quick look at the code behind it. Considering the simplicity of it, it is almost surprising that no one has thought of doing this previously. The framework is simple and the code is neat and very maintainable. Sometimes it takes a work of genius to find the uncomplicated solution to a potentially complicated problem.

The fact that it is all JavaScript makes it straight-forward to extend and building tests is relatively easy in the form of HTML tables.

Based on my brief inspection of the code, it looks like it should handle most situations... however, it will rely on developers adhering to some (reasonable) standards in their HTML.

It wasn't long before some basic tests were set up interacting with one of the web-applications in development.

Initial impressions are that Selenium has the potential to grow into a very capable 3rd Generation Test Automation tool for testing front-ends to web applications.

Well done to Jason Huggins, Paul Gross and Jie Tina Wang for writing it and to ThoughtWorks for releasing it.

4 years on...

Since this initial post, I've worked with Selenium in a number of ways. I'm a big fan of SeleniumRC and have been showing people an example of how to integrate it with FIT (equally applicable to Concordion).

I'm still a fan of Selenium - having had much more time since then to use it in anger... SeleniumRC is my preferred choice (not the record/playback approach) - allowing you to abstract the detail of specific task-level interactions behind a DSL.

Keep up the good work Selenium team!
Antony Marcano

QA Podcast #7: Talking Selenium with Luke Closs

TrackBack from QA Podcast:
We've been away, but we're back! This week sees a change of pace here at QA Podcast, with Wolfgang and Sophos's Luke Closs talking about Selenium, a test tool for Web applications that runs in your browser. Selenium is an open-source tool deve

Comment viewing options

Select your preferred way to display the comments and click 'Save settings' to activate your changes.