For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
Course Name Date Time Duration Type Location
WhatsApp to 91-8328152362 for address details of AnyTechLabs
Selenium + Appium 27th February 2019 7.00 AM IST to 8:45 AM IST 45 Days Class Room + Online AnyTechLabs
Selenium + Appium 9th March 2019 9.00 AM IST to 2.00 PM IST 5 WeekEnds Class Room + Online AnyTechLabs

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

Thursday, February 12, 2009

Managing Object Repositories Using Object Repository Manager

Object Repository Manager

The Object Repository Manager enables you to manage all of the shared object repositories used in your organization from a single, central location, including adding and defining objects, modifying objects and their descriptions, parameterizing repositories to make them more generic, maintaining and organizing repositories, merging repositories, and importing and exporting repositories in XML format.
Navigation: - Resources->Object Repository Manager

Using Object Repository Manager we can
  1. Creating Shared Object Repositories
  2. Managing objects in Shared object repositories
  3. Modifying Test Object Details
  4. Comparing object repositories
  5. Merging Object Repositories
Creating Shared object repositories we can do in two ways
  1. From object repository dialog box directly we can export local objects to shared
  2. From Object repository Manager
But modifying, deleting or changing objects in shared object repositories is possible only with Object repository manager.

Creating Shared object Repositories
In the Object Repository Manager, choose File-> new or click the new button. A new object repository opens. You can now add objects to it, modify it, and save it.

Editing Shared object Repositories 
Navigation: - In object repository manager select an Object Repository and then File->Enable Editing

When you open an object repository, it is opened in read-only mode by default. You can open it in editable format by clearing the Open in read-only mode check box in the Open Shared Object Repository dialog box when you open it.

If you opened the object repository in read-only mode, you must enable editing for the object repository before you can modify it. You do not need to enable editing for an object repository if you only want to view it or copy objects from it to another object repository. When you enable editing for an object repository, it locks the object repository so that it cannot be modified by other users. To enable other users to modify the object repository, you must first unlock it (by disabling edit mode, or by closing it). If an object repository is already locked by another user, if it is saved in read-only format, or if you do not have the permissions required to open it, you cannot enable editing for it.

Object Repository comparison Tool

Navigation: - Tools->Object Repository Comparison Tool

Object repository comparison tool enables you to compare two shared object repositories and to view the differences in their objects, such as different object names, different object descriptions, and so on.

After opening the comparison tool, to compare the object repositories you need to provide two object repositories file paths and click on OK. Then the Comparison Tool provides a graphic presentation of the objects in the object repositories, which are shown as nodes in a hierarchy. Objects that have differences, as well as unique objects that are included in one object repository only, can be identified according to a color configuration that you can select. Objects that are included in one object repository only are identified in the other object repository by the text "Does not exist". You can also view the properties and values of each object that you select in either object repository.

Object Repository Merge Tool

Navigation: - Tools->Object Repository Merge Tool

Object repository merge tool enables you to merge two object repositories into a single shared object repository. You can also use this tool to merge objects from the local object repository of one or more actions into a shared object repository.

 This tool enables you to merge two shared object repositories (called the primary object repository and the secondary object repository), into a new third object repository, called the target object repository. Objects in the primary and secondary object repositories are automatically compared and then added to the target object repository according to preconfigured rules that define how conflicts between objects are resolved.
After opening the merge tool, to merge the object repositories you need to provide two object repositories file paths and click on OK. After the merge process, the Object Repository Merge Tool provides a graphic presentation of the original objects in the primary and secondary object repositories, which remain unchanged, as well as the objects in the merged target object repository. Objects that had conflicts are highlighted. The conflict of each object that you select in the target object repository is described in detail. The Object Repository Merge Tool provides specific options that enable you to keep the suggested resolution for each conflict, or modify each conflict resolution individually, according to your requirements.
The Object Repository Merge Tool also enables you to merge objects from the local object repository of one or more actions into a shared object repository. For example, if QuickTest learned objects locally in a specific action in your test, you may want to add the objects to the shared object repository, so that they are available to all actions in different tests that use that object repository.


  1. What type of Files can be managed using the Object Repository Manager?

  2. We can manage only shared repository file types. Those are

    1) .Tsr
    2) .XML

    We can store objects in XML file by exporting a shared object repository to xml.

  3. Hi Sudhakar,
    I want to add an object as Browser by Object Repository Manager.After add the object(Browser) in Object Selection window shows "Window:Mozilla Firefox". Here I want to change "Window" to "Browser". How can change this? Please tell me.