Results 1 to 17 of 17

Thread: Can you merge 2 object repositories in QTP

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    3

    Can you merge 2 object repositories in QTP

    Can you merge 2 object repositories in QTP?


  2. #2
    Junior Member
    Join Date
    Jan 2008
    Answers
    18

    Re: 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 ...


  3. #3
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: Can you merge 2 object repositories in QTP

    Quote Originally Posted by deep_pinu View Post
    Can you merge 2 object repositories in QTP?
    In a test you can call two or more shared OR.

    Last edited by jainbrijesh; 01-04-2008 at 08:39 AM.
    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  4. #4
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: Can you merge 2 object repositories in QTP

    Hi,

    YES - you can merge 2 repositories in qtp using object repository manager.

    Merging local to shared repository.
    You would need to associate the shared repository with the action containing the local repository. Go to "object repository manager - update from local repository" 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.

    Merging shared repositories

    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.....


  5. #5
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: Can you merge 2 object repositories in QTP

    Gud Description Umesh.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  6. #6
    Junior Member
    Join Date
    Dec 2007
    Answers
    21

    Smile Re: Can you merge 2 object repositories in QTP

    Hi
    very good answer,this is helpful for me also....


  7. #7
    Junior Member
    Join Date
    Jan 2008
    Answers
    3

    Re: Can you merge 2 object repositories in QTP

    Thnaks Umesh for such a descriptive and valuable answer.


  8. #8
    Junior Member
    Join Date
    Jan 2008
    Answers
    18

    Re: Can you merge 2 object repositories in QTP

    Thanks Umesh for the wonderful description....My doubts got cleared too..


  9. #9
    Contributing Member
    Join Date
    Feb 2006
    Answers
    85

    Re: Can you merge 2 object repositories in QTP

    One more thing to add with Umesh comment ...

    this can be done only in QTP 9 not in 8.X version of QTP...


  10. #10
    Junior Member
    Join Date
    Jan 2008
    Answers
    18

    Re: Can you merge 2 object repositories in 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..


  11. #11

    Re: Can you merge 2 object repositories in QTP

    Chhaya, qtp 8x versions don't have or merge tool nor is there a provision for multiple object repositories per action.


  12. #12

    Re: Can you merge 2 object repositories in QTP

    hei man..
    now we got QTP 9.0..it has a direct OR marge facility


  13. #13
    Expert Member
    Join Date
    Sep 2007
    Answers
    110

    Re: Can you merge 2 object repositories in QTP

    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 ...............


  14. #14
    Expert Member
    Join Date
    Jun 2008
    Answers
    204

    Re: Can you merge 2 object repositories in QTP

    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


  15. #15
    Junior Member
    Join Date
    Dec 2008
    Answers
    1

    Re: Can you merge 2 object repositories in QTP

    Quote Originally Posted by deep_pinu View Post
    Can you merge 2 object repositories in QTP?
    Through Associate Repository we can merge object repositories.


  16. #16
    Junior Member
    Join Date
    Oct 2008
    Answers
    1

    Post Re: Can you merge 2 object repositories in QTP

    Quote Originally Posted by deep_pinu View Post
    Can you merge 2 object repositories in QTP?
    Hi,
    You can merge the object repositories by Resources->Object repository manager->here u can find the option to merge it.
    thanks.


  17. #17

    Re: Can you merge 2 object repositories in QTP

    umesh made it very clear


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact