When the QTP program learns any new object, the program stores it in its object repository along with all its properties. QTP has two types of object repositories:

  • Local Object Repository: Linked to only one test, and easy to make changes and actions with it. Here objects are saved with .mtr extension.
  • Shared Object Repository: Can be used between multiple test cases, but no changes can be made here. Objects are saved here with TSR extension.
BY Best Interview Question ON 23 Jan 2019