I’ve recently been trialling Selenium to see if it would be suitable replacement for our current, very expensive tool, Rational Functional Tester. For those not in the know, Selenium is an open-source test automation tool that is currently very popular in the testing community.
The Selenium IDE acts as a plugin for Mozilla Firefox. It allows you to record user interaction with a website via a toolbar, and presents the steps in an easy-to-read format.
Here are my impressions so far, as a comparison to Rational Functional tester:
- Very good record and playback feature. The tool integrates seamlessly with Mozilla Firefox to enable easy recording and, more importantly, easy editing and playback. This feature works better than all other record and playback tools I have tried previously.
- Stable. The irony of many test automation tools is that they are full of bugs. So far this one seems pretty stable, without any glaringly obvious quirks.
- Free. Rational Functional Tester costs a small fortune on a per-license basis.
- Cross-browser compatible. It is easy to configure Selenium to use any of the popular web browsers.
- Web applications only. Selenium cannot be used to test desktop applications. Bit of a downer.
- Steep learning curve. While record and playback is easy, setting up advanced editing in Java (or C#, Perl, Python or Ruby) is not so straightforward. However, this is typical of most test automation tools. Usually these tools are easy enough to use once they are set up, it is getting there that is the problem. Almost all of the documentation on the website is “Coming soon…”
Thoughts so far:
Given that the tool is free, I am leaning towards using it as a complementary tool to Rational Functional Tester, using the record and playback feature for simple data-driven automation tasks. Maybe if I spend more time on it, I could start using it for more complex functions as well.