November 14, 2010

Introduction to QTP

What QTP means?
   Quick Test Professional – is widely / most popularly used as Functional and Regression Test Automation Tool. It was initially developed by Mercury Interactive and then acquired by HP.
   Quick Test Professional – captures, verifies and replays user interactions automatically and helps testers quickly identify and report on application effects, while providing advanced functionality for tester collaboration.
   Quick Test Professional – the user friendly IDE which has Keyword view, Expert view, DataTable, Active screen, object repository editor/manager, step generator, function generator, object highlight feature, intelligence, recovery scenario manager, update run feature and simple Test/Action handling features makes the Script developing/execution work easy. The IDE is integrated with useful tools such as ObjectSpy. The IDE has standard development features such as Debug.
   Quick Test Professional – supports Windows and Web based Applications.

Why QTP?
   Ease of use:
  • QTP allows even novice testers to be productive in minutes. You can create a test script by simply pressing a Record button and using an application to perform a typical business process.
  • Using the Active Screen facility, several types of checkpoints for any object to verify the components behave as expected can be created simply by clicking on the object in the Active Screen.
  • Data Table, an integrated spreadsheet with the full functionality of Excel, is used to manipulate data sets and create multiple test iterations, without programming, to expand test case coverage.

   QTP supports: functional testing of all popular environments, including Windows, Web, .Net, Visual Basic, ActiveX, Java, SAP, Siebel, Oracle, PeopleSoft, terminal emulators, and Web services .

QTPKey Features
   Mercury Screen Recorder – Captures your entire run session in a movie  clip or capture only the segments with errors, and then view your movie from the Test Results window.

   Dynamic Management of Object Repositories – Programmatically manage an action’s shared object repository collection during the test run.

   Keyword view – Lets you easily build and maintain tests writing VBScripts.

   Auto-Documentation – Provides improved test clarity and the ability to view test steps in plain English

   Step Generator – Allows quickly insert custom-built functions into your tests.

   Enhanced Object Spy functionality – When you hover over objects in your application using the pointing hand, you can view their proprieties, methods and object hierarchy in the object spy. As you hover over each object, it is highlighted in the application.

   Mercury Business Process Testing – Enhanced integration with BPT – Business Components, Script Components and Application Areas.

   Action Parameters – Allows you to generalize testing actions for greater reusability.

   Data Parameters – You can now specify test or action parameters to pass values into and from your test, and between actions in your test.

   Open XML Report Format for Test Results – Test Results are now stored in open XML format, enabling you to easily customize the reports according to your own requirements, and to integrate the test results information with applications.

   Unicode Support – Lets you test global deployment of your enterprise applications.

   Function Definition Generation – You can use the new function Definition Generator to generate definitions for user- defined function, add header information to them and register function to a test object.

Tools support for QTP
  • VB Script for Scripting (for implementing programming logic)
  • VB Script engine integrated in QTP, so apart from scripting features we can use File system, Excel, word, AdoDB etc. object models from QTP
  • SQL (Structured query language)  engine integrated in QTP, so we can use SQL Statements in QTP to perform Database Operations
  • Excel like spread sheet integrated in QTP for performing Data driven Testing
  • We can install MS Script Debugger with QTP for Debugging Test scripts
  • QTP uses XML format also for Environment variables and for exporting object repositories
  • QTP can be integrated with other Tools like WinRunner and Quality Center
  • QTP can be used for user interface (UI) test case automation and some limited (Non UI) Test case automation like File system operations and Data base operations
  • It was derived from Astra QuickTest (mother tool of QTP)
  • It supports IE (Internet Explorer) only for recording tests, for execution it supports other browsers like Mozilla and AOL, opera Etc apart from IE
  • QTP is a Desktop Application (I-Tier/Stand alone)
  • QTP developed in .NET Technology
  • Since it is Stand-alone Application, It doesn't have Database, It stores resources as files (Internal and External). We can't share QTP services from one machine to another, but we can’t share resources (Ex: Object Repository files, Function Libraries, Environment variable files, Recovery scenario files etc...)

Version History of QTP
Astra QuickTest (Mother tool of QTP) 1.0 to 5.0
* QTP derived from Astra QuickTest and influenced by WinRunner.

Quick Test Professional
  • 5.6 – Nov 2002
  • 6.5 – 2003
  • 8.0 – 2004
  • 8.2, 8.3 –2005
  • 9.0,9.1-2006
  • 9.2- 2007 Mercury Interactive
  • 9.5 –2008 H.P
  • 10.00 –2009 January
  • 11.00 –2010** (It is the Latest Version)

No comments:

Post a Comment