Micro Focus QTP (UFT) Forums
2 object repositories are associated to an action, how to differentiate? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: 2 object repositories are associated to an action, how to differentiate? (/Thread-2-object-repositories-are-associated-to-an-action-how-to-differentiate)



2 object repositories are associated to an action, how to differentiate? - ritugoyal - 11-24-2009

Hi All,

Is it possible to associate more than one object repository with a test. then how QTP will differentiate b/w the 2 repositories to call objects from individual ORs.

Thanks,


RE: 2 object repositories are associated to an action, how to differentiate? - Saket - 11-24-2009

Yes that is possible, in thast case qtp will use the objects in the local repository.

an exerpt from the post by Ankur
"If an object with the same name is located in both the local object repository and in a shared object repository associated with the same action, the action uses the local object definition"

for more details refer Understanding object repositories in QTP 9.x series


RE: 2 object repositories are associated to an action, how to differentiate? - rahul1234 - 12-10-2009

Clear cut and really nice answer.
Thanks and once again thanks for your quick reply.