QTP - Introduction


QTP - Introduction

QTP stands for QuickTest Professional, a product of Hewlett Packard (HP). This tool helps testers to perform an automated functional testing seamlessly without monitoring once script development is complete.

HP QTP uses Visual Basic Scripting (VBScript) for automating the applications. The Scripting Engine need not be installed exclusively as it is available part of the Windows OS. The Current version of VBScript is 5.8 which is available as part of Win 7. VBScript is NOT a object oriented language but a object based language.

Testing Tools:

Tools from a software testing context, can be defined as a product that supports one or more test activities right from planning, requirements, creating a build, test execution, defect logging and test analysis.

Classification of Tools

Tools can be classified based on several parameters. It includes,

  • The purpose of the tool

  • The Activities that are supported within the tool

  • The Type/level of testing it supports.

  • The Kind of licensing (open source, freeware, commercial)

  • The tecnnology used

Types of Tools:

S.No#Tool TypeUsed forUsed by
1.Test Management ToolTest Managing, scheduling,defect logging, tracking and analysis.testers
2.Configuration management toolFor Implementation,execution, tracking changesAll Team members
3.Static Analysis ToolsStatic TestingDevelopers
4.Test data Preperation ToolsAnalysis and Design, Test data generationTesters
5.Test Execution ToolsImplementation, ExecutionTesters
6.Test ComparatorsComparing expected and actual resultsAll Team members
7.Coverage measurement toolsProvides structural coverageDevelopers
8.Performance Testing toolsMonitoring the performance,response timeTesters
9.Project planning and Tracking ToolsFor Planning Project Managers
10.Incident Management ToolsFor managing the testsTesters

Where QTP Fits in ?

QTP is a Functional testing tool which is best suited for regression testing of the applications. QTP is a licensed/commercial tool owned by HP which is one of the most popular tools available in the market. It compares the actual and expected result and reports the results in the execution summary

QTP History and Evolution:

HP Quick Test Professional was originally owned by Mercury Interactive and it was acquired by Hp. Its original name was Astra Quick Test and later named as Quick Test Professional but the latest version is known as Unified Functional Tester(UFT).

Version History:

Now let us take a look at the version history of QTP.

Astra Quick Test v1.0 to v5.5 - Mercury InteractiveMay 1998 to Aug 2001
QuickTest Professional v6.5 to v9.0 - Mercury InteractiveSep 2003 to Apr 2006
Hp-QuickTest Professional v9.1 to v11.0 - Acquired and Released by HPFeb 2007 to Sep 2010
Hp-Unified Functional Testing v11.5 to v11.532012 to Nov 2013


  • Developing automated tests using VBScript doesn't require a highly skilled coder and relatively easy when compared other object oriented programming languages.

  • Easy to use, ease of navigation, results validation and Report generation.

  • Readily Integrated with Test Management Tool(Hp-Quality Center) which enables easy scheduling and Monitoring.

  • Can also be used for Mobile Application Testing.

  • Since it is a Hp product, the full support is provided by HP and by its forums for addressing technical issues.


  • Unlike Selenium, QTP works in Windows operating system only.

  • Not all versions of Browsers are supported and the testers need to wait for the patch to be released for each one of the major versions.

  • Having said that it is a commercial tool, the licensing cost is very high.

  • Even though scripting time is less, the execution time is relatively higher as it puts load on CPU & RAM.