Monday, January 4, 2010

Whats is an Object Repository in QTP?

Whats is Object Repository in QTP:

It's defined as a Storage place where we can store the Objects' information and it also act as an Interface between the Test Script and AUT in order to Identify the Object during the execution.

Types of Object Repository:

    1. Per-Action Repository
     2. Shared Repository

Per-Action Repository:

For every action a Separate individual repository is created automatically and managed by QTP.   

•    Per-action repository  can’t be Re-usable
•    Space  required for storage is Less
•    Execution speed is fast

Shared Repository:

Repository needs to be associated to the corresponding test manually.

•    For long run we go for shared repository even though we need to create manully.
•    Shared repository can be re-usable
•    Space  required for storage is more
•    Execution speed is slow
•    Easily maintenance

No comments: