Open topic with navigation
Implement the CompareObjectIds method to check whether the two object IDs pass to the method refer to the same object.
When UFT adds all of an object's descendants to the object repository, UFT compares the object ID of each object to those of the existing ones (belonging to the same parent) to make sure that the object was not previously added. If the object IDs are simple strings or integers, UFT compares them without calling the method. Otherwise, it calls the CompareObjectIds method for the Testing Agent to perform the comparison. Implement this method to return
true if both object IDs refer to the same object.