Use UFT One UIA Pro (tech preview)
Relevant for: GUI tests and components
This topic describes how to use UIA Pro in UFT One to test applications that implement Microsoft UI Automation patterns. For details on support, see the UI Automation overview on MSDN.
Using UIA Pro requires the UIA Pro add-in to be installed and loaded.
Spy on objects in UIA Pro mode
The Object Spy and Object Identification Center provide a separate mode for UIA Pro object identification. Use this mode to identify objects based on their UI Automation properties and create UIA Pro test objects.
To spy on objects in UIA Pro mode
Do one of the following:
In the Object Spy, click the pointing hand drop-down arrow, select UIA Pro, and click the button to spy on an object in UIA Pro mode.
In the UIA Pro mode, you can view object properties, add the spied object to your local repository, or drag it into your test to create a step. For details, see Use the Object Spy.
In the Object Identification Center, select the UIA Pro icon to spy on objects in UIA Pro mode.
In the UIA Pro mode, you can view object properties, add the spied object to your local or shared repository, or drag it into your test to create a step. For details, see Use the Object Identification Center.
Tech preview scope
The UFT One UIA Pro is introduced as a tech preview feature. Working with this tech preview feature has the following known issues:
|Recording||Recording UIA Pro steps is not supported.|
|Spying on UIA Pro objects||
The Object Identification Center shows only a limited hierarchy of a spied UIA Pro object. To see the full hierarchy, use the Object Spy.
|IntelliSense is not fully supported||
IntelliSense does not work for methods that return complex objects.
|Assistive properties||Assistive properties are not supported in UIA Pro, and all properties included in an object's description are considered mandatory.|
|Parameter value enumerations||
When entering a parameter value in a UIA Pro test step, use integer values rather than enumeration strings.
Example: In the syntax