Monday, November 30, 2009

24. Merge Object Repositories:


Two shared object repositories can be merged into a single object repository. This is done in the Object Repository Manager.
When you merge two shared object repository, the primary object repository and the Secondary object repository, a Third object repository called Target object Repository gets created. To merge two object repositories:

Step 1: In the Object Repository Manager, select Tools>Object Repository Merge Tools. The New Merge dialog box appears.
Step 2: In the New Merge dialog box, type or select the names of the object repositories that you want to merge.
Step 3: Click OK.
Step 4: The Statistics message box appears. The message box displays the details of the conflicts and the number of unique items merged from the two repositories.
Step 5: Click Close. The Object Repository-Merge Tools window appears. It displays the objects in the target object repository.
Step 6: Save the target object Repository.
Step 7: Then recognize it to the QTP by using Associate Repository.
Step 8: Enter the Script.


No comments:

Post a Comment