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.

Troubleshooting UI flow Playback


View products that this article applies to.

Symptoms

Fail to run a UI flow.

↑ Back to the top


Solving steps

If the scenario is not mentioned above, you can try if following steps help to resolve the issue:

  1. Find your UI flow in Power Automate portal and edit your UI flow steps.[Asset 4555940]
  2. Extend script and click the step (in following picutre, click "LeftClick2"), you can check the screenshot to see if there is any duplicate recording. [Asset 4555950]
  3. For "UIA Element Not Found" issue, this might be caused by various reason, try to enable coordinate based playback. Issue with UI flows - UIAElementNotFound

↑ Back to the top


Tips and tricks

Playback

  • Do not use the keyboard and mouse during playback​
  • Try to adjust your app has the same initial state as the recording time​
  • Use the same keyboard and locale setting as recording time​
  • If you are using coordinate offset fallback​
    • Current coordinate-based fallback is conservative and ensures the control is same as what was recorded, including the size​
    • Use the same resolution and scale setting as recording time​
    • Maximize the app size to minimize disruption​

​Recording

  • Ensure the same keyboard layouts you are using to record will be the same as for playback
  • Use shortcuts instead of clicking. for instance copy paste with ctrl + c & ctrl + v instead of right click copy
  • Use “enter static text” if you are working with strings for better readability​
  • When you insert text into a field already have text inside, you should click ctrl+A and backspace to clear up the field first
  • Playback uses accessibility by default, can fallback to coordinate as well if you turn it on​
    • Use a standard resolution and scale setting that across your recording and playback devices​
    • Maximize the application window that you are recording​
    • Finish the recording in one monitor if possible​

↑ Back to the top


Keywords: ui flow failure, ui flow playback, ui flow

↑ Back to the top

Article Info
Article ID : 4555949
Revision : 11
Created on : 4/6/2020
Published on : 4/6/2020
Exists online : False
Views : 99