Troubleshooting when Testing with UI Automation Support Enabled

Why does a script with UI Automation controls that is recorded on Microsoft Windows 7 not replay on Microsoft Windows 8 or later?

When you record a script that includes UI Automation controls on Microsoft Windows 7 or prior, and then try to replay it on Microsoft Windows 8 or later, the replay might fail. That is because Microsoft has changed the underlying automation, and the UI Automation behave differently between those Windows versions.

For example, some UI Automation controls in an application might have a value for the automationId attribute on Microsoft Windows 7 and no value for the same attribute on Microsoft Windows 10.

In such a case, Micro Focus recommends recording the script again against the later Microsoft Windows version.