Quick Test Professional - The starters Guide

What is QTP?

QTP stands for Quick Test Professional, a product from HP (Hewlett Packard) for Functional and Regression Test Automation. Originally QTP was developed by Mercury Interactive Corporation, which was acquired by HP in 2006. 

Using QTP, we can automate user actions on a web/client based computer application and tests the same actions for different users, different data set, on different browsers.


HP’s Quick Test Professional is tool that facilitates Automation Testing for software applications.


Some of the important aspects of QTP:

  1. It uses VB Script as its scripting language.
  2. QTP runs only in a windows environment.
  3. It supports technologies are Web, Java .Net, SAP, Oracle, Siebel, PeopleSoft, Web Services, and many major languages. Some of the older versions don’t support the above technologies.

Supported Browser:

  • Safari on Mac OS (in Beta mode)
  • Internet Explorer 6, 7, 8, 9, 10, 11 
  • Firefox 3.0.X, 3.5, 3.6 to v24

Supported Operating Systems:

  • Windows XP, Windows Vista, Windows 7 and Windows 8/8.1 (with a patch). QTP 12 supports Safari on Mac OS (in Beta mode)

Minimum System Requirements:

  • Operating System: Windows 7 with Service Pack 1
  • CPU: Dual Core 1.6 GHz or Higher
  • Browser: Internet Explorer 7.0 or Higher
  • Memory: 2 GB
  • Hard Disk Space: 2 GB of free Disk Space

What is Testing Tools?

Testing tools is a program, which is used to validate the application. Automated testing tools are able to executing tests, reporting outcomes and comparing results with earlier test runs.

Different types of test tools:


Tool support for

Tools and Used by

Used for


Tool support for management of testing and tests:

  • Test management tools –Used by Testers

Test Managing, scheduling, defect logging, tracking and analysis.

  • Incident management tools- Used by All Team members

For managing the tests

  • Configuration management tools- Used by Testers

For Implementation, execution, tracking changes


Tool support for static testing:


  • Review process support tools- Used by Testers

For Reviewing Documents

  • Static analysis tools - Used by Developers

Static Testing


Tool support for test specification:

  • Test design tools - Used by Testers

Designing of tests

  • Test data preparation tools - Used by Testers

Analysis and Design, Test data generation


Tool support for test execution and logging:

  • Test execution tools - Used by Testers

Implementation, Execution

  • Test comparators - Used by All Team members

Comparing expected and actual results

  • Coverage measurement tools - Used by Developers

Provides structural coverage


Tools support for performance and monitoring:

  • Performance testing, Load testing and stress-testing tools - Used by Testers

Monitoring the performance, response time


Version of QTP:

QTP name was Astra Quick Test and then named as Quick Test Professional but the latest version is known as Unified Functional Tester (UFT).




Astra Quick Test v1.0 to v5.5 - Mercury Interactive

Released in May 1998

Astra Quick Test 3.0

Released in Feb 2000

Astra Quick Test 5.0 (Astra Quick Test Professional 5.5)

Released in Feb 2001

Quick Test Professional v6.5 to v9.0 - Mercury Interactive

Sep 2003 to Apr 2006

HP-Quick Test Professional v9.1 to v11.0 - Acquired and Released by HP

Feb 2007 to Sep 2010

HP-Unified Functional Testing (UFT) v11.5 to v11.53

Dec 2012 to Nov 2013

HP-Unified Functional Testing (UFT) v12.0

Released in March 2014

HP-Unified Functional Testing (UFT) v12.1

Released in July 2014

HP-Unified Functional Testing (UFT) v12.2

Released in December 2014

Advantages of QTP:

  • QTP can be used for both Windows and Web Applications and also supports .NET, Java, Oracle, PeopleSoft, SAP, Siebel, Mainframe Terminal Emulator & Web Services, provided separate add-ins are installed.
  • QTP using Object Identification Mechanism for Identifying Objects.
  • QTP using VB Scripting, simple programming language to understand or code
    can automate Microsoft Object Model (FSO, Word, Excel, Outlook, etc.) and can be integrated with HP Quality Center and HP Service Test.
  • It can also be used for Mobile Application Testing.
  • Simple and easy to use and understand, easy to navigate, provides very user-friendly results validation and Report generation process.

 Disadvantages of QTP:

  • Cost of License is high.
  • No support for Object Oriented Programming.
  • QTP runs only under Windows Operating System.
  • Support for Internet Explorer. For other Browsers, corresponding add-in needs to be purchased.
  • Multiple Tests cannot run simultaneously.
  • The execution time is higher as it puts load on CPU & RAM.


In this tutorial, we will get to know Quick test professional. At the time of writting QTP is at version 12.2. This tutorial is subdivided into multiple parts as shown below

  • What is QTP
  • Automating tests
  • Environment
  • Recording and Playback
  • Object Repository
  • Actions
  • Data Table
  • Checkpoints in QTP
  • Synchronization
  • Smart Identification
  • Debugging and Error handling
  • Recovery Scenarios
  • Environment Variables
  • Library Files
  • Test Results
  • GUI Objects
  • Virtual Objects
  • Accessing Databases
  • Working with XML
  • Descriptive Programming
  • Automation Object Model
  • A work on Frameworks

Leave your feedback for us, Feedback help us improve our tutorials.



Some knowledge on Windows OS and VB Script is recommended


Students who wish to learn QTP

Learning Objectives

Learn QTP

Author: Subject Coach
Added on: 16th Mar 2015

You must be logged in as Student to ask a Question.

None just yet!