Saturday, November 29, 2008

How to automate test-scenarios which have Java Objects built on JMesa , JQuery, JSON and AJAX technology.

I had a challenging project to automate Java Objects on the fly – sharing some part of it.

Challenges I faced
1. Objects which are built on top of JMesa , JQuery, JSON and AJAX technology -- are not recognized by professional automation tools (such as QTP and SilkTest).

2. How to automate Dynamic Graphs which are implemented with technologies like Flotr and 3D Canvas.

3. Web application needs to automate with cross-browsers ( IE 6.0+ , FF 2.0+ or Safari 2.0+ ) It focus objects screen rendering issues which are different from one browser to other.

How can we overcame
• Challenge #1 and #2 can be resolved with below automation approach.
Verify HTTP Responses when user does some actions like objects fire specific AJAX calls; We simulate these AJAX calls ( HTTP requests ), capture valid\expected response, set them as baseline and in QA loop we simulate user actions again with automation, capture actual response and compare with baseline.

• Challenge #3 can be resolved with below automation approach.
Simulate request for each browser to server, Capture valid\expected HTTP response for each browser such as IE 6.0+, FF 2.0+ or Safari 2.0+ from server then set them as baseline and in QA loop we send request again per browser, capture actual HTTP response for each browser (such as IE 6.0+, FF 2.0+) and compare with expected baseline response – This will uncover objects which have screen rendering issues.

I recommend Canoo WebTest automation tool as It works well with AJAX application and understand HTTP request and response.

Monday, November 24, 2008

How to claim web product certified by QA

Below V&V activities' document with their approved status need to produce by QA.

















Thanks,
Nimesh Vadgama.

Popular Posts