Developing Support for Learning Objects

When a UFT One user uses the Add Objects tool to add objects to the object repository and points to an object, UFT One 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 One 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 or OIC.

To enable UFT One 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: