What
are the types object Repositories in QTP
, Object Repository Types in Quick Test Professional
Following
Two Types Object Repository are supported by QTP:-
- Shared Object Repository: We can call it Global Repository also.Shared object repository can be handled by following steps:i. Creating a Shared Object Repository – By Default all repository will be Local Repository but to converted or creating a shared object repository we need to follow the following steps:From the Object Repository Dialog BoxClick – File > Export Local ObjectsNow assign the suitable name to it and saved it.
- Associating a Shared Object Repository:> Select the Resources → Associate Repositories. Now Associate Repositories dialogue box will open> Click on Add (+) button, Shared Object Repository need to Select.> Now Click the Open Button> Appropriate Action need to Select and Moved it into the Associted Actions> Finally OK button need to Pressed
- Editing the Shared Object Repository: To Edit any Shared Repository we require the Object Repository Manager.Select or choose the Resource > Object Repository ManagerBy Default, Repository will opened in the Read – Only mode.To active the Editing Click onFile > Active Editing.
- Per-Action Object Repository which is also called the Local Repository
By
Default QTP
use Per-Action Object Repository. The “.mtr”
is the extension of Per-Action repository.
We
will prefer the Shared Object Repository when QTP require to deal
with dynamic object which can be called in several tests. Extension
of this repository will be “.tsr”.
types object Repositories in QTP |
No comments:
Post a Comment