Monday, July 7, 2008

What is shared object repository type in QTP?


When you use the shared object repository mode, QuickTest uses the object repository file you specify for all the actions in your test.

If you do not specify a file extension when creating a new object repository file, then QuickTest automatically appends the default extension name for shared object repositories: .tsr

When working in shared object repository mode:

  1. QuickTest adds new objects to the object repository as you record steps on the object.
  2. QuickTest uses the existing information and does not add the object to the object repository if you record operations on an object that already exists in the shared object repository (i.e. the object has the same test object description).
  3. QuickTest uses the same test object from the shared object repository file when you record on the same object in two different actions or in different tests
  4. QuickTest saves changes to the shared object repository file when you save your open test or when you click Save in the Object Repository dialog box if the shared object repository is not locked and/or opened in read-only mode.

No comments: