About Enhancing Your UFT One Testing Agent
After you complete the implementation of the mandatory ITestable interface, you can implement the additional interfaces in the SDK to support more advanced UFT One capabilities such as Record, Active Screen, Highlight, creating checkpoints. These interfaces are defined in the UFT Extensibility Agent type library.
The following table shows the interfaces that you need to implement for each UFT One capability and the methods included in each interface:
Supported UFT One Capability | Interface to Implement | API Methods |
---|---|---|
Object Spy | ||
Accessing native properties and operations | ||
Record | ||
Active Screen | ||
Highlight | ||
Bitmap Checkpoint | IRectangleSupplier or ITestable (GetProperties: width and height properties) | or GetProperties (width and height) |
Visual Relation Identifiers | IRectangleSupplier or ITestable (GetProperties: abs_x, abs_y, width and height properties) | or GetProperties (abs_x, abs_y, width and height) |
Test Event Notification (UFT One notifies the Testing Agent) | BeginRun2 (implement if you want to add lines to the UFT One run results) |
Perform your development in stages, adding support for one UFT One capability at a time and testing after each stage.