QTP - Comparing and Merging OR's

Advertisements


Comparing Object Repositories:

Many a times, we might be in a position to compare two object repositories to spot the difference and merge it if incase objects are missing in the main repository.

These tools help us to a very great extent to spot the differences in the Object Repository

Steps to Compare OR's

Step 1 : Navigate to "Resources" >> "Object Repository Manager"

Step 2 : Goto "Tools" >> "Object Repository Comparison Tool"

Comparing OR's

Step 3 : The Object Repository comparison Window opens and the user need to select the two Object Repository files to be compared.

Comparing OR's

Step 4 : It performs the Comparison and displays the differences one by one as shown below:

Comparing OR's

Step 5 : Even one can filter based on 3 parameters viz - unique objects, identical objects, partial match objects.

Comparing OR's

Merging Object Repositories

Some times there are circumstances when Object repository needs to merged as maintaining two or more object repository adds additional overheads.

Merging Option is a great boon for testers who need to merge two object repository without loosing the object hierarchy.

Steps to Merge OR's

Step 1 : Navigate to "Resources" >> "Object Repository Manager"

Step 2 : Goto "Tools" >> "Object Repository Comparison Tool"

Merging OR's

Step 3 : The Object Repository Merge Window opens and the user need to select the two Object Repository files to be merged.

Merging OR's

Step 4 : Upon merging, the statistics are shown to the user.

Merging OR's

Step 5 : Even one can filter based on 2 parameters viz - show all objects, show only conflicting objects.

Merging OR's

Advertisements
Advertisements