Object Spy is a utility/option within QTP to add objects to the Object Repository. Object Spy can be accessed from the tool bar as shown below − Step 1 − Clicking the Object Spy icon, the Object Spy Dialog box opens. The Objects can be added to the repository on clicking the pointing hand.

What is visual relation identifier in QTP?

Visual Relation Identifier is a set of definitions that enable you to identify the object in the application according to the relative location of its neighboring objects.

How many types of object repository are there in QTP?

Based on Context, the Object Repository is of two types.

What does the GetTOProperty method do?

The GetTOProperty returns the value of the property from the test object’s description, i.e., the value used by QTP to identify the object. It returns the value of a property for a test object which QTP recorded to identify during the recording (run time).

What is Insight object in UFT?

Insight Object Identification In Insight mode, UFT stores the image of an object along with its ordinal identifiers in the object repository. These objects are called Insight Objects or Insight Test Objects. These images become the main description property for UFT to identify objects.

What is object identification in QTP?

Object Identification in QTP. This concept is tells about how QTP is identifying objects while running and recording session. Object Identification in running session. If you record in Normal or Low level recording, object information will store in object repository. In script you can see class, object name, operations, and values.

What is the difference between run-time QTP and record QTP?

During Record, Time QTP tries to learn the properties of a GUI object on which operation is performed. During Run-Time, Micro Focus UFT compares the stored object properties with actual properties of the object available on screen and uniquely identifies an object independent of its location on a screen

What are the mandatory properties in QTP?

There are 3 aspects to this: Mandatory properties: This is the list of properties for a certain class that QTP always stores. We could say that this is the object description. It also checks this in conjunction with the parent object to see if the description is sufficient to identify the object uniquely.

How to create a positional link in QTP?

In this screen select the ‘+’ sign to add an object with which you want your test object to having a positional link. I will choose “Agent Name” and say that this object should be above the “OK” button. Now, in case some properties of OK button changes in the future, QTP will identify it if, “Agent Name” is above it.