Quick Test Professional or QTP is a tool developed by Hewlett Packard (HP) to perform automated functional testing without any monitoring required after the script development. This software tool uses VBScript or Visual Basic Scripting to automate all its applications. The Scripting Engine required by QTP doesn’t need any installation as it’s pre-available in Windows OS. Here is a set of most used QTP interview questions for experienced as well as beginners to this niche selected by industry best recruiters.
Here in this article, we will be listing frequently asked QTP Interview Questions and Answers with the belief that they will be helpful for you to gain higher marks. Also, to let you know that this article has been written under the guidance of industry professionals and covered all the current competencies.
When the QTP program learns any new object, the program stores it in its object repository along with all its properties. QTP has two types of object repositories:
QTP has a total number of five test steps which can be executed for any test case.
QTP can operate alone as well as can be work with the integrated environment.
QTP has the following phases:
The user has to select Java Add-In and launch QTP. Then the tester has to record operations on the Java Tree. If any issue appears while testing, the examiner can choose Tools > Object Identification > Java, tree object and make changes in assistive and mandatory properties to enable the identification.
QTP identifies GUI object based on corresponding properties. At the time of recording, the tool will detect and store beautiful features in the GUI object’s object repository. It will compare the stored property values with the present on-screen properties to uniquely identify the GUI object.
QTP tool supports three types of recording modes:
An object spy is a tool present in QTP that helps testers to view the object operations and properties linked to then in AUT. The object spy can retrieve all the object properties and their values, and uniquely identify the objects with a set of features to store them.
Action split is used to split the actions in QTP to two parts.
Add-in is used to increase the capability of the tool. Then can be added as required to different scenarios, such as:
There are three types of actions that can be performed in QTP.
QTP has various checkpoints which can be inserted in the test to compare two object values, current and expected values. The tool has the following inspections: