Open topic with navigation
UFT can call functions that identify the root element of a control of a specific test object class. These functions are called only if the element being learned cannot be associated with a test object class using the information in the toolkit configuration file.
The second technique is a single function that handles all of the custom controls in the toolkit. A function of this type returns the test object class name of the element being learned. With this type of function, there is no way to specify that a different element is the root element. If the element being learned is not the root element of a custom control, the function returns null.
Only one of these two techniques can be used in a toolkit support set.
When UFT is learning an element, the token _elem represents that element.
This section includes: