Friday, May 6, 2011

Object Repository


Object Repository:
Object repository is a storage place where one can store the objects information and it also acts as interface between the test script and the AUT(application under test) in order to identify the original objects during execution.
Types of Object Repository:
 There are two types of object repository they are.
Per-Action Repository:
 If at all this type is selected as an object repository then the QTP will be automatically creating and managing an individual repository for every action.
Shared Repository:
  Shared repository has to be created and managed manually once a shared repository to created it can be shared among number of tests.It is reusable and easy to maintain.
1) Collect the objects information in to the object repository
2) Click on export
3) Browse the desired location
4) Specify the file name with .TSR extension
5) Click on save button



Or we can create it through Object Repository Manager  Option available in later version of QTP 9.0

No comments:

Post a Comment