UFT Extensibility Agent library 1.3
ITestable2 Interface
Services to support building and running tests. Extends ITestable to support Smart Identification. This interface does not support recording.
Object Model
ITestable2 Interface
Public Methods
Public Method BuildDescription Returns the description of the specified object.
Public Method CompareObjectIds Checks if two object IDs are identical.
Public Method FindObjectId Returns the object ID of the child of the specified parent that matches the description.
Public Method FindObjectId2 Returns an array of object IDs of the children of the specified parent that match the description. (Implement instead of FindObjectId to support Smart Identification.)
Public Method GetChildren Returns the object IDs of the direct descendents of the specified object.
Public Method GetDisplayName Returns the name to be displayed in the user interface.
Public Method GetElementType Returns the type of the specified object, generally the class name.
Public Method GetLastError Returns the error message that resulted from the immediately preceding action.
Public Method GetParent Returns the object ID of the control that contains the specified object.
Public Method GetProperties Returns an array of values corresponding to the array of property names for the specified object.
Public Method GetTabularAttributes Gets the display attributes of the specified table.
Public Method GetTabularData Returns the table data in the specified range.
Public Method GetTestingEnvironment Returns the environment description.
Public Method LearnChildObjects Gets object IDs from root down to and including the specified object, and from the specified object to the bottom of the hierarchy.
Public Method Run Runs a test object method.
See Also