qtp tool

QTP Tool

What is QTP Tool?
It is a Functional & Regression test tool, but it supports little bit Performance Testing, Compatibility Testing and Reliability Testing.

By inserting Transaction points (Start and End) we can measure Test Transaction time as well as part of the test transaction time, but only for one user, not like LoadRunner. LoadRunner support multiple concurrent users.

By executing same tests on different versions Operating systems and different versions of Browsers we can perform Compatibility Testing.

By repeating same operations with multiple sets of Test data (Data Driven Testing) we can cover Reliability Testing also.

QTP Product Information

QTP is I-tier Application (Stand-alone Application), it doesn’t have database, it stores its resources (Ex: Object Repositories, Function libraries, Recovery scenarios etc…) in File format on Computer Hard disk, otherwise we can store qtp resources in Quality Center Project.

QTP developed in .NET technology (VC++.NET), if we install QTP for first time in our machine, first it installs .NET framework, .NET framework is run-time for QTP Application.

QTP Version History
QTP Derived from Astra QuickTest and influenced by WinRunner. In 2001 Mercury Interactive Corporation take over Astra QuickTest.

Astra QuickTest Versions (1.0  to 5.0)

QTP Stable releases:

5.6 in 2002
6.5 in 2003
8.0 in 2004
8.2, 8.3 in 2005
9.0, 9.1 in 2006
9.2 in 2007
9.5 in 2008
10.00 in 2009
11.00 in 2010

In 2007 September QTP take over by HP
9.5 version onwards HP logo

QTP Supporting Environments

a) Application Environment

We have 3 types of Software Environments in the IT (Information Technology) Industry, they are:
1) CUI (Command user Interface) based Applications
2) GUI (Graphical User Interface) based Applications
3) Web based Applications

QTP Supports GUI and web Application Test Automation only, it doesn’t support CUI based applications, QTP is an object based test tool, in CUI environment no objects available.
Note: 95% Software Applications are either GUI based or Web based Applications only.

b) Operating System Environment
We have 2 major families of Operating systems available in the IT Industry

1) Microsoft Windows
2) UNIX and UNIX flavors like Linux, Solaris etc…
QTP Supports Windows Operating environment only, It doesn’t support  UNIX operating environment, but LoadRunner and Quality Center support Windows and UNIX environments.

QTP License

It has 2 types of license
a) Seat or Node Locked
b) Concurrent or Float 

QTP Add ins

Add in means additional component, by default QTP doesn’t support all types of Software Applications, In order to recognize Software Objects Add in, nothing but Technology compatibility files are required.

QTP is an Object based Test Tool, based on Front end Objects only it performs Test Operations, to recognize Front end objects Add ins are required.

We have two types of Add-ins Add ins available in QTP
———
a) Internal Add-ins
———————
1) Standard Windows
2) Activex
3) Visual Basic
4) Web
Note: Standard Windows Add in is built in Add in, it is not visible Add in Manager.

b) External add-ins
——————-
5) Java
6) SAP for GUI
7) SAP for Web
8) .NET for windows forms
9) .NET for Web forms
10) Delphi
11) Power Builder
12) Siebel
13) People soft
14) Oracle
15) Small talk
16) Web services
17) TE (Terminal Emulator, It is for  Main Frame Applications)
18) Stingray
19) WPF (Windows Presentation Foundation)
20) Silver Light (recently added, available in QTP 11.00 version only)

QTP IDE (Integrated Development Environment)

QTP has 3 types of features support for Test Automation:

a) Direct features (Features available in QTP tool main window)
Example: Recording, Object Repository, Object Spy, Checkpoints, output values, Step Generator, Data Table etc…

b) Integrated tools from HP
Test Bach Runner, Password encoder, Test Results deletion tool etc…

c) Integrated tools from others
SQL engine for database operations
VBScript engine for Scripting
MS Script Debugger for Debugging Tests (This we need to download and Install)

QTP Test Process

6 stages of Test Process available in QTP
a) Test Planning
b) Generating Basic Tests (Plain Navigation)
c) Enhancing tests 9inserting verification points, error handling, adding comments, parametrization etc… based on our test requirements.
d) Running & Debugging Tests
e) Analyzing Test Results
f) Reporting Defects

Creating Tests
In high level orientation, we have two types of test design methods available in QTP, in low level orientation 4 methods available.

a) Object Repository based Test Design
    1) Recording
    2) Manual Test Generation (Using Shared object repositories)

b) Descriptive Programming / Programmatic Descriptions
    1) Static Programming
    2) Dynamic Programming

Note: QTP supports Hybrid approach for creating tests, hybrid means combination of 2 or more approaches. In our project we can use Object Repository for some tests design and Descriptive program for some tests design.

Test Execution

Running individual tests

Batch Testing
    Using “Test Batch Runner” Tool
        Or
    Using AOM Script
        Or
    Using Quality Center Tool
        Or
    Using Driver script

QTP Framework

Framework, it is a systematic approach for automating Software Test process.
For More Visit: QTP Framework

QTP Certification

HP is conducting Certification programs for its Suite of Test tools.
For more details Visit:

QTP Certification

——————————————-***——————————–

 

Comments