Shared Object Repository QTP, How Create Shared Object Repository Quick Test Professional Example



Shared Object Repository in QTP, How to Create Shared Object Repository in Quick Test Professional with Example. This tutorial will describes the Shared Object Repository in complete details:

  1. When Application will be dynamic then only Shared or Global Object Repository will be prefer where description of object can be change frequently.
  2. Difference between local and shared object repository, In Automation project, Shared object Repository can be used more commonly than the local repository.
  3. But Actually Shared Object repository has administration and maintenance overheads as compared with local object repository.

Following three steps are required to perform to use and create a shared object repository:
  1. First of all Creating a Shared Object Repository
  2. Shared Object Repository Associating
  3. Shared Object Repository Editing

Let's discuss all of them for a little while:

  1. Shared Object Repository Creation:
    i. By default all repository are local. So for shared object repository creation – Follow the steps : From Object Repository Dialog Box > Click File > Export Local Object
    ii. Extension of repository files are .tsr . Assign proper name to it as “LocalToShare” etc and Save it.
    iii. The creation of Shared Repository File is completed


  1. Shared Object Repository Association:
  1. Now turn to associating the repository to your test, Which definitely enable you to use it.
  2. Steps to Associate Repository are as follows: Click Resources > Associate Repository
  3. You have options to choose the repository to associate with Actions available in Test.
  4. Now you can use this repository to test the develop project frequently.


  1. Shared Object Repository Edition:

  1. Object Repository Manager can be use for Edit a Share Repository.
  2. Steps Will be -: Select the Resources > Object Repository Manager. Now you can open the created Object Repository .
  3. By default mode of opened repository is Read – Only. So click on File> Enable Editing
  4. After enabling the mode, user can do all the operations like copy, paste, cut, rename objects etc that can also be done in Object Repository.
  5. Two Object Repositories can be compare using Object Repository Manager. QTP will provide us all static's of common and unique records for both repositories.
  6. Two Repositories can be merge together with the help of Object Repository merge tool.

    Shared Object Repository in QTP
    Shared Object Repository in QTP



















    Android Install Apps to SD Card Default
    Developer vs Tester a fake competition


    QTP TESTING STEPS How to Record a QTP Script






No comments:

Post a Comment

Popular Posts