Wednesday, July 18, 2012

QTP Repository for easy understanding


QTP Repository is used to store objects that can be reference Testing Applications during Automation test runs.





Property of the objects can be predefined in QTP as follows
1. Mandatory Property
2. Assistive Property
3. Ordinal Identifier

Mandatory Property
QTP priorities mandatory properties defined in the Object Identification section for particular object.
Refer Images above and below where these below properties highlighted in mandatory section.
  Html tag, name and type

Assistive Property
QTP uses Assistive property when mandatory property of the object matches more than one object being saved in OR.
Refer the below Image for better understanding. In Webpage Cache link appears more than a time so QTP refers for Assistive property.


  
 
Ordinal Identifier
QTP refers Ordinal when the above mentioned properties are not sufficient to identify the object being saved in OR. Here we can specify object Index, Location and Creation Time as property.
   

No comments:

Post a Comment