Thursday, January 7, 2010

Web2.0 and Test Automation

I came across some new UI gadgets while researching selenium.
Just go thru the websites, there are amazing UIs. Simply mind blowing.

There are ready made UI gadgets available in the open source world today for any developer to qucikly plug in his application. There are examples with source code and all possible information there.

Just wondering as we move to this new era of UI feature, even the test automation need to change so as to ease Object Identification of these gadgets. Test automation tools need to provide intelligent object recognition options.

QTP 10.0 is suppose to do it. One of the blog says.
There has been no out-of-the-box support for most of the Web2.0 technologies by any of the tools providers out there. Looks like HP has decided to go full force into it and capture all the more commercial functional testing tools market that was already dominated by them. **HP is now planning to release a Web2.0 pack.
QTP does have Flex addin.

Sahi official website indicates that they fully support
Since Sahi uses javascript inside the browser, it works with pretty much any web technology.
Applications using dojo, extjs, gwt, zkoss etc. have all been tested successfully with Sahi.

Selenium does have jars for individual UI components. there is selenium-flex.jar that provides api for testing flex. zkoss is easily tested with default setup of selenium.
Dojo is not easily supported but needs tweeking. Biggest benefit selenium has is XPATH locator.

None of the tools give short cut or easy way to identify these gadgets. Theres good understanding of DOM and Javascript required to correctly calculate position or location or identification of UI element.

http://gwt-ext.com/demo/
This is google web toolkit

http://www.adobe.com/devnet/flex/tourdeflex/web/#
Adobe provides Flex component

http://demos.dojotoolkit.org/demos/fisheye/
DOJO is another javascript library power packed with readymade UI components

http://www.zkoss.org/zkdemo/userguide/#d2
is another ajax library (without JavaScript) for rapid UI development

http://www.extjs.com/deploy/dev/examples/grid/edit-grid.html
Some more jazzy examples are present on this site

http://developer.yahoo.com/yui/examples/dragdrop/dd-reorder.html
This is open source AJAX library provided by Yahoo.

No comments:

Post a Comment