Welcome to the UFT Testing Extensibility API Reference > UFT Extensibility Agent library 1.3 > Interfaces > ITestable3 Interface > Methods > CompareObjectIds Method
UFT Extensibility Agent library 1.3
CompareObjectIds Method
An object ID.
An object ID.
Description
Checks if two object IDs are identical.
Syntax
Visual Basic
Public Function CompareObjectIds( _
   ByVal objId1 As Variant, _
   ByVal objId2 As Variant _
) As Boolean
Parameters
objId1
An object ID.
objId2
An object ID.
Return Type
True if arguments are identical. This indicates that the IDs refer to the same object.
Remarks
If the objIds are strings or integers they are compared by UFT without calling this method.
See Also