Micro Focus QTP (UFT) Forums
Local and Shared Object Repositiories - Should a Test Have Both? - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Local and Shared Object Repositiories - Should a Test Have Both? (/Thread-Local-and-Shared-Object-Repositiories-Should-a-Test-Have-Both)



Local and Shared Object Repositiories - Should a Test Have Both? - Vilkas1 - 08-27-2009

Hi,

I'm new to QTP and would like to know if my test should have both a local and a shared object repository. I want the shared object repository but it seems having the local also is redundant, isn't it?

Thanks,
Brian


RE: Local and Shared Object Repositiories - Should a Test Have Both? - Saket - 08-27-2009

A test should not have both the repositories at the same time. You should use either local or shared repository. Use shared repository by associating them Resources > Associate Repositories. all the objects will come to your local repository. In case you want to create your shared repository, add them in local OR then you can export them to create a shared OR, you can do this by OR Manager also.

hope this is clear to you now, let me know if you have any query.


RE: Local and Shared Object Repositiories - Should a Test Have Both? - Vilkas1 - 08-27-2009

Hi Saket,

Thanks for your informative replies.

So, then I believe the local repositories are created automatically while recording, right? So, after creating a shared object repository, do I go and delete the local object repositories? Or do I merge them or do I somehow prevent the local object repositories from being created?

Thanks,
Brian


RE: Local and Shared Object Repositiories - Should a Test Have Both? - basanth27 - 08-28-2009

Vikas -
Export is what you need to do and maybe delete it after that. Merge may show you several conflicts as you move ahead with more and more tests. When you record the objects are by default stored in the Local Repository if you are using QTP 9.2 and above.