Quick Test Professional

Quick Test Professional or QTP as it is commonly known, is the most widely used automation testing tool. Previously QTP was owned by Mercury but now it has been taken over by HP.
Using QTP, testers can record scripts and run them to repeat the functional steps sequentially. The steps are performed in the same manner as a manual tester would have done to test the AUT. However, the only difference is, here the tool would perform the actions and no manual intervention is required. The automation testers need to automate and build the script. Once the scripting is complete, the script can be run any number of times, setting the iterations as required.

The scripting language used in QTP is VB Script which is user friendly, easy to learn and implement. Scripting done by other testers are also easy to understand and apprehend. Hence maintenance of scripts can also be done comfortably.

QTP comes with Add-Ins which are like added elements you would require to test your AUT. For example, if you are testing a Java application, you would require the Java add-inn. Similarly, for Web based applications, you would require Web Add-inn; for SAP applications you would require SAP add-inn. You can install the add-inns you require while installing QTP in your system. Once the add-inn is installed, we can work on that particular application and automate scripts using QTP.
By default, the add-inns that get installed while installing QTP are: Visual Basic, Web, ActiveX. Any other add-inn you would require for your project needs to installed at the time of installing QTP.

There are two views available in QTP -- Keyword View and Expert View.
Keyword View can be used by the beginners, whereas Expert View is used by testers who can script comfortably using VB scripting. For each entry in the Expert View, an entry in Keyword View is created automatically and the vice verse.

There are 3 recording options available --
  • Standard Windows Recording
  • Low Level Recording
  • Analog Recording
The recording option can be selected from Automation-->Type of Recording. The default type of recording is Standard Windows Recording. The short-cuts for the other two types are Ctrl+Shift+F3 for Low Level Recording and Shift+Alt+F3 for Analog Recording.