QTP10.com is a new and completely free website that offers help in all the versions of HP QTP (including latest version 10). More importantly, it offers free code for users of HP QuickTest Professioal. This site helps you in learning the basics of QTP and descriptive/advanced programming in (QTP) on various environments like - .Net, Infragistics, Web, Windows, etc.

Note -
This blog is NOT affiliated with HP / Hewlett-Packard in any way. The data/questions come from various sources and we have our own testing questions. I am just another Software Tester like you.

Use Local or Shared Object Repositories in QTP? How to Decide?

Share This Post -

Deciding Whether to Use Local or Shared Object Repositories in QTP

To choose where to save objects, you need to understand the differences between local and shared object repositories.

In general, the local object repository is easiest to use when you are creating simple record and run tests, especially under the following conditions:

  • You have only one, or very few, tests that correspond to a given application, interface, or set of objects.

  • You do not expect to frequently modify test object properties.

  • You generally create single-action tests.

Conversely, the shared object repository is generally the preferred option when:

  • You are creating tests using keyword-driven methodologies (not using record).

  • You have several tests that test elements of the same application, interface, or set of objects.

  • You expect the object properties in your application to change from time to time and/or you regularly need to update or modify test object properties.

  • You often work with multi-action tests and regularly use the Insert Copy of Action and Insert Call to Action options.