Posts: 11
Threads: 6
Joined: Jul 2008
Reputation:
0
08-27-2009, 03:56 AM
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
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
08-27-2009, 11:36 AM
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.
Posts: 11
Threads: 6
Joined: Jul 2008
Reputation:
0
08-27-2009, 10:22 PM
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
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-28-2009, 09:43 AM
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.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.