I was using Ruby for Watir, but now there’s Watij!
May 16, 2006 12 Comments
I need to do a comparison of Selenium, Watir, Sahi and well I just found out that there is something called Watij as well. I had almost settled on Watir but a Java equivalent is good news, and better continuous integration options with JUnit etc. come to mind.
The things I liked about Watir are the following:
- Unlimited flexibility, because you can script and control pretty much whatever you want. Nested frames, tables, no problem.
- No need to mess around with the web-server (Selenium) or set up a proxy to get things to work (Sahi). You need Ruby and Watir installed though.
- Integration with the Ruby unit testing framework allows you to neatly structure even the order of your test cases, assert for expected results and get a summary at the end.
Main gripes with Watir at the moment:
- Only IE support so far. There is a “FireWatir” being worked on, but it has to reportedly improve on the performance front.
I totally am sold on Ruby being a great DSL for testing used with Watir, and I can’t wait to look at equivalent Watij scripts and compare. Would be interesting to see if it offers some good integration with JUnit for example…