Twist GA V1.0 - First look

I had a first look at Twist V1.0 and it looks impressive and stable.

Here are my findings.

1) After I installed, I tried installing the subclipse (After little bitof  struggle, I figured out that you need to de select the 'Revision graph module' from the subclipse, and then you can move ahead successfully with the installation

2) As soon as I checked out my old Test suite ( created from Twist beta), it asked me to upgrade the project.  It has a backup projecy feature now. But I didn't do any backup and moved ahead with the upgrade, process was quick and smooth.

3) Executed one of the scenarios and worked smoothly.  so far so great.

One quick noticeable change is speed of execution of tests and it looks much faster and smoother in V1.0

4) The Tag management featured is quiet good, now I can manage tags of multiple tests in one go.

5) Now it preserves the test execution history if tests are executed from the editor, which was really lacking in the previous versions. A Great feature to have.

Features I  have not tried so far  :  Recording, Rules table and Context but I am sure it must be good.

But overall I am delighted.

Twist GA - Update

Twist is going GA on 27th April.

Waiting eagerly for this release as it should be a much stable release. More feedback , once I give it a go..

Modern day webapps - How to approach automation testing

Web apps are getting complex with browsers getting rich in behavior at the same time diverse from diff browsers. Technologies like Ajax and J-query has given a new dimensions to web apps. But at the same time automation testing getting difficult with rich javascript pages . 

How do one cope up with this. Multiple browser, different behaviors and rich client specific technologies to write and maintain tests.

Web automation needs to be maintainable and scalable, but how does one keep these factors in mind coping up with browser's incompatibility.


1) Select a tool which behaves with different browsers naively.
2) Write scripts driven by user behavior.
3) Avoid using browser specific object identification. (e.g> X- Path)
4) Keep scripts modular and small, so that its easy to write and maintain.
5) Don't hack the stuff to make something work (E.g> using javascript to do stuff - like cookie editing), I would rather avoid doing that, as brittle scripts may lead to serious disaster, especially in agile environment.




Selenium Vs Webdriver

WebDriver is a java based libraries to write automation tests for web applications.

This an awesome driver to test application for various reasons. This is also a better alternative for selenium. Webdriver works on the Principal of talking to browser naively, unlike selenium which works through proxy using javascript. 

One thing is obvious immediately is 'speed', webdriver tests run much faster then selenium, reason explained above.


Selenium                                                   WebDriver

Works on proxy                                       Works natively with Browser

Supports Major browsers                       Supports IE, Firefox , HtmlUunit and Iphone

API  is quiet complex                               Simple API

Supports multiple language                     Only Java at the moment
to write tests

  -                                                                    Supports HtmlUnit driver to run tests faster
   
Webdriver is going to become Selenium 2.0 eventually. I personally think, webdriver is next big thing in web functional testing after selenium.

Thanks to Simon Stewart for this awesome tool.