Differentiate the Local Object Repository and Shared Object repository types of QTP

There are two types of Object Repositories in QTP namely

1. Local Object Repository (.mtr)
2. Shared object Repository (.tsr)


1. Local Object Repository : Local Object Repository is for that particular action i.e you have learned objects into the repository for that test or action and you have the privilege to edit the object properties and values and this is stored in that test file. you cannot use this repository with other tests.

2. Local Object Repository : Shared Object Repository is a global repository which can be used by any test. Its like a centralized placed where all information about the objects are stored and can be associated to any test. The advantage of Shared Object Repository is that for multiple actions or test you can use the same Object Repository and this has to be associated to the current test or action so that the object identification takes place.

When you associate a shared object into your current test then all the objects will be read only and you cannot make any changes to the object properties and by enabling editing you can make changes to the repository but if you want to save the repository then you have to save as a new copy.

1 comments:

Malarvizhi said...

second one change the title shared object repository

Post a Comment

/* Tynt Insight tracker ----------------------------------------------- */