Describe object repository modes with example

Showing Answers 1 - 2 of 2 Answers

Uday Kumar. A

  • Sep 12th, 2006
 

QTP supports 2 types of object repository modes.

1. Per-Action repository mode: In this, for each action a seperate object repository file is created. So object1 in Action1 is different from the same object1 in Action2. So it is wastage of memory. And each object repository file is saved when a test is saved. This mode is most useful, when the object does not change frequently and a few actions are associated with the test. If the object changes in the application, then we need to changed each of the object repository.

2. Shared object repository: In this, common object repository file can be used for muliple actions and multile tests. So Object1 is action1 is same for Action2, because all the objects are saved at one place. Here if the object changes, then we need to update a single object repository file.

CHAKRI

  • Sep 20th, 2006
 

HOW DO YOU READ A .TSR FILE. i MEAN HOW DO YOU READ THE SCRIPT . dO YOU OPEN THE .TSR FILE IN NOTEPAD ELSE...

CHEERS

CHAKRI

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions