Posts

Showing posts from September, 2011

QTP (Keyword Driven) Vs. Twist (Page object pattern)

Image
Previous two posts Web Application Testing (QTP Vs. Twist) and Test Creation (QTP Vs. Twist) talks more about the features in the tool and ease of use.  Following my two blog posts where I have compared QTP with Twist, this blog post is next  in the series which will talk about  Test framework and maintenance in both the tools.
When you launch QTP, you will notice that the Process Guidance pane shows you a path to achieve what QTP has popularized in the Testing community as “Keyword-Driven Testing”.



[Keyword Driven Testing is a technique that separates much of the programming work from the actual test steps so that the test steps can be developed earlier and can often be maintained with only minor updates, even when the application or testing needs change significantly]
-QTP Help File on “Keyword Driven Testing”
This technique relies on 3 pillars: Test Steps Keywords Object Repository So a tester generally writes Test steps using the keywords, tester with technical knowledge creates function …

Test Creation (QTP Vs. Twist)

Image
After downloading QTP (Version 11), I started using it to test my sample application which is a project management tool. I must say that the “Process Guidance” stuff is really good for first time users. It tells them how to create and organize your test in a step by step manner (One thing which is not present in Twist).
So I started with creating a lay out of the project by creating Actions which are logical name for Test scenarios like “Login”, “Create Project”, “Create Card” in QTP.
Left side of the below image shows how the test looks in QTP and right side shows how it looks in the tool I am using Twist.

So once the project lay out was created in QTP I started recording the test. This is how it looks in QTP. QTP shows me the recorded script and I can add comments to that script to tell the intention of recording. However Recorded Script doesn’t help anyone apart from me to understand what this test does.

Let’s go to the tool I am using Twist. Once the project lay out is created, I can…

Web application Testing (QTP Vs. Twist)

Image
I downloaded QTP (Trial Version 11) few days back and I thought of seeing what’s new in the tool.I have a Dell Machine with Windows 7 installed on it. Browsers installed on my machine are:
Firefox (Version 6.0.2) IE (Version 9.0.2) Chrome (Version 13.0.782.220) QTP allows me to setup the environment before recording test. So I can navigate to
Automation –> Record and Run Settings.  The pop below shows up. I can set the application URL there and when I pull the browser drop down, it just shows up Microsoft Internet Explorer.

Though I have Firefox, Chrome installed on my box, they do not shows up in the list. So when I opened the “HP QuickTest Professional Product Availability Matrix” pdf I was shocked to see the below matrix. Are you serious ?
If I am testing a web application I would want to test it on various browsers available at least Firefox (Version 4, 5, 6), Chrome (Version 12, 13) and IE 9 (on Windows 7).


I looked back at my tool which I am using right now (Twist) and I saw t…