Can you merge 2 object repositories in QTP?
Printable View
Can you merge 2 object repositories in QTP?
there are two types of OR in QTP
1. Per Action
2. Shared.
per action means you have individual OR for every action
shared means you have single OR for multiple actions.
You cannot merge two OR in QTP..
do let me know if you get more info on this ...
[QUOTE=deep_pinu;23600]Can you merge 2 object repositories in QTP?[/QUOTE]
In a test you can call two or more shared OR.
Hi,
YES - you can merge 2 repositories in qtp using object repository manager.
[u]Merging local to shared repository[/u].
You would need to associate the shared repository with the action containing the local repository. Go to [color="blue"]"object repository manager - update from local repository"[/color] option.
Follow these steps to merge -
1. Go to resources -> object repository manager.
2. In the object repository manager window, go to file -> open, and select the shared object repository file. Clear the “open in read-only mode” checkbox.
3. If the repository file opened in read-only mode, go to file -> enable editing.
4. Go to tools -> update from local repository.
[u]Merging shared repositories[/u]
1. Open the object repository manager.
2. Go to tools -> object repository merge tool.
3. In the new merge window, browse to the primary repository file. Select the secondary repository file.
4. Click ok
5. Review the merge statistics, as described in viewing merge statistics, and resolve any merge conflicts that were reported.
Cheers.....
Gud Description Umesh.
Hi
very good answer,this is helpful for me also....
Thnaks Umesh for such a descriptive and valuable answer.
Thanks Umesh for the wonderful description....My doubts got cleared too..
One more thing to add with Umesh comment ...
this can be done only in QTP 9 not in 8.X version of QTP...
I had the same doubt if it works with QTP 8.X or not hence initially i mentioned that it cant be done..
anyways good Kunal u mentioned it..
Chhaya, qtp 8x versions don't have or merge tool nor is there a provision for multiple object repositories per action.
hei man..
now we got QTP 9.0..it has a direct OR marge facility
Hi umesh,
How to merge object repositories in QTP 8.2.
Is there any way to do it, because we dont have ORM in 8.2
Please ...............
I have some scripts which created on QTP 8.2 using a OR "82OR". Just got QTP updgraded and created new script which added few more objects but these objects are local to the new script.
How do I merge the object in the (local) script to the "82OR"?
I cannot find a way to save the new OR. If I can save it, I think I can use your above instructions.
thanks
[QUOTE=deep_pinu;23600]Can you merge 2 object repositories in QTP?[/QUOTE]
Through Associate Repository we can merge object repositories.
[QUOTE=deep_pinu;23600]Can you merge 2 object repositories in QTP?[/QUOTE]
Hi,
You can merge the object repositories by Resources->Object repository manager->here u can find the option to merge it.
thanks.
umesh made it very clear