Welcome to the UFT Testing Extensibility API Reference > UFT Extensibility Agent library 1.3 > Interfaces > ITestable3 Interface > Methods > GetParent Method
UFT Extensibility Agent library 1.3
GetParent Method
Description
Returns the object ID of the control that contains the specified object.
Syntax
Visual Basic
Public Function GetParent( _
   ByVal objId As Variant, _
   ByRef isExternalParent As Boolean _
) As Variant
Parameters
objId
isExternalParent
Return Type

If not external, the parent object ID as defined by the test application. If external, a string of the format specified in the ExternalParent.xsd.

If this is the root object of the hierarchy and there is no external parent or no relevant external parent, return an empty variant (VT_EMPTY).

See Also