Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Issue with UI flows - UIAElementNotFound


View products that this article applies to.

Symptoms

When trying to run UI flows, you may see this error:

[Asset 4555730]

↑ Back to the top


Verifying issue

This error occurs if your UI flows has the property "Use coordinates" set to true and UI flows is unable to locate the element using coordinates and the display resolution and scale on your playback machine does not match the scale and resolution of the machine on which the UI flows was recorded. The issue can be verified by following these steps:

  • Click and expand the Launch <Application Name> step in your UI flow
  • Click on the "Show more" link

[Asset 4555799]

  • Verify that the properties Screen width, Screen height, Screen scale  matches the display settings in your PC (shown in next step)

[Asset 4555801]

[Asset 4555800]

 

 

↑ Back to the top


Solving steps

  1. If your UI flows has the property "Use coordinates" set to true, it is required that the screen resolution & scale while recording should be the same as the screen resolution & scale during playback.
  2. Keep the app maximized while recording to get an optimum performance.

↑ Back to the top


Keywords: resolution, scale, UI flows, coordinate, UIAElementNotFound

↑ Back to the top

Article Info
Article ID : 4555804
Revision : 4
Created on : 4/6/2020
Published on : 4/6/2020
Exists online : False
Views : 106