Developing The Basic UFT Testing Agent > Developing Support for Learning Objects > Implementing LearnChildObjects

Implementing LearnChildObjects

Implement the LearnChildObjects method to return an array containing the object IDs of all of objects that make up the full hierarchy of the specified object. This includes the object's ancestors (up to the highest object that is still within the scope of the testing environment you are supporting), the specified object itself, and all of the object's descendants, if it has any.

In addition, this method must set the learnChildrenXml argument and it may set the externalParent argument.