Local & Shared Object Repository in QTP/UFT

What is Object Repository in QTP?

Object Repository is a collection of Test Objects and information that is recognized by QTP for working on it. When a user records a test, the objects and their properties are captured by default.

In this Tutorial, you will learn-

How Does Object Identification work in QTP?

Learn Object Identification with an example in the following video

Types of Object Repository

There are 2 Types of Object Repository in QTP

  1. Local Object Repository
  2. Shared Object Repository

Local Object Repository

  • Local Object Repository is the default object repository
  • It is specific to actions and can be used only for a particular action
  • Local Object Repository   is preferable when the application is not dynamic with respect to time
  • Local Object Repository  cannot be reused
  • You can perform many operations in the local object repository such as -
  • Highlight an object stored in a repository on the application under test
  • Check whether a particular object in your AUT is stored in the Object Repository
  • Cut, Copy, Paste, Modify and Delete Objects
  • In case you have accidentally modified the value of a property you can update its description from the application using update function.

Step 2)Associating a Shared Object Repository

Step 3) Editing a Shared Object Repository

YOU MIGHT LIKE: