Object Identification

Object Identification is a mechanism that how QTP is identifies the objects uniquely.
 

Object Identification is divided into 2 types.
 

1.    Normal identification
2.    Smart Identification

1.     Normal Identification:

Normal Identification is divided into 2 properties Mandatory and Assistive properties.

Mandatory properties: The properties which are mandatory for objects are calling as Mandatory properties like Class Name, text………….

Assistive properties are assistance for Mandatory properties like enabled, focused

2.    Smart Identification:

Smart Identification is divided into 2 properties Base Filter and Optional Filter properties.



Along with Normal and Smart Identification there is another option is Ordinal Identifier.

QTP only uses when there are multiple object matches for a given description.

Ordinal Identifier:

These are 2 types

Location: IF at all the location is selected as Ordinal Identifier, and then QTP will generate sequence of NO. From 0, 1, 2, 3…………..  Based on the sequence of the objects located in the application.

Index: IF at all the Index is select as Ordinal Identifier, then QTP will generate sequence of No 0,1,2,3…….. based on the sequence of the programs of the corresponding objects
 
Contributed by: Vamshi Gowtham
m.vamsigowtham@gmail.com