Known Issues - UI Automation Support

Working with UFT and UI Automation has the following known issues:

Unsupported features

The following features are not supported together with UI Automation:

  • Active Screen

  • F1 support for objects and methods

  • Table checkpoints

  • Using UI Automation with the UFT Add-in for ALM

  • Recording on Drag and Drop methods.

Tests created in previous versions of UFT

Some tests created on previous UFT version may fail when running the test, due to an update in the description properties used to identify objects.

Workaround: Check the test object's name in both the Object Spy and the Object Repository. If necessary, update the Object Repository to match the value of the name property in the Object Spy.

Tip: Always use the name property for object identification in UI Automation objects. This property enables UFTto find the object more quickly during test runs.

Windows 10

UI Automation recording and UI Automation spy mode can experience unexpected behavior when running UFT on Windows 10.

These functionalities are not officially supported for UFT running on Windows 10.

Recording

If you are using UI Automation to record in an environment with a slow GUI refresh such as a slow RDP connection, recording can experience unexpected and unstable behavior.

Additionally, recording on UI Automation Add-in test objects may not identify all objects due to a page refresh. To avoid errors, add any relevant steps manually in the Editor.

Java applications

When using UI Automation to test a Java application, objects added to your object repository from an application running on a computer with Java 8 installed will not be recognized on a computer with Java 6 installed.

This is due to changes in the Java framework between Java 6 and Java 8.

Regular expressions as property values

The controltype cannot have a value that is a regular expression.

UIA container objects with large numbers of elements

When spying on UIA container objects, such as lists, trees, and tables with large numbers of elements in the object, UFT may experience slow performance and unexpected behavior.

Workaround: Do one or more of the following:

  • In your application, implement the ItemContainer pattern with the FindItemByProperty() method.

  • Manually add additional description properties for the items in the object, such as index. These properties are not added by default.

  • Use .Object methods to access items within the control.

UIA with other "spy" tools

If you start other "spy" tools, such as the Microsoft Inspect tool, UFT experiences unexpected behavior.

Nested objects

Navigate and learn is not supported for capturing objects nested within other objects.

See also: