Developing Support for Learning Objects

When a UFT user uses the Add Objects tool to add objects to the object repository and points to an object, UFT learns this object and adds it to the object repository. If the specified object contains other objects, they can be learned as well, as descendants of the specified object. The UFT user can specify the types of objects that should be learned as descendants.

To support retrieving an object ID for the object to which the user points, you must implement the GetElementFromPoint method from the ISpyable interface. For more information, see Developing Support for the Object Spy.

To enable UFT to learn objects in your environment and add them to the object repository, you must implement the LearnChildObjects and CompareObjectIds methods.

For more information, see: