We had some very cool stuff showcased at Barcamp Delhi 2006. One technology that impressed me was Watir – Web application testing in Ruby. Angrez Singh of Persistent Systems presented a talk on this. Watir is an open source web application functional testing tool. It drives IE like a user will do by clicking links, filling up forms etc automatically and shows the results. It currently supports IE.
In the demo, he actually showed how Watir was automatically filling up yahoo mail login page and driving the browser to do a login. It was cool. It was slow, though. When asked, he said that it is because of JSSh which is slow in transmitting messages. I also think so. The culprit has to be the middle man. Later I asked him what all it entails to support more browsers and how easy it is. So, he said that one needs to write Ruby scripts which will drive the browser and also a browser plugin or something which will let Ruby drive the browser.
Frankly, I was impressed by the power of this tool. Ruby itself is getting hotter day by day. And now a powerful web application functional testing tool built in Ruby. Good. This is one thing I am surely going to play around with for some time.