|
| 1 | +--- |
| 2 | +title: Troubleshoot UI Element Visibility Issues in Power Automate for Desktop |
| 3 | +description: Troubleshoot Power Automate for desktop when it can't interact with specific UI elements. Explore solutions like OCR, image actions, and more. |
| 4 | +ms.date: 11/05/2025 |
| 5 | +ms.custom: sap:Desktop flows\UI or browser automation |
| 6 | +ms.reviewer: iomimtso, nimoutzo, v-shaywood |
| 7 | +--- |
| 8 | + |
| 9 | +# UI element picker or recorder can't view UI elements in desktop applications |
| 10 | + |
| 11 | +This article provides troubleshooting guidance for an issue where Power Automate for desktop can't view or interact with specific UI elements in a desktop application. |
| 12 | + |
| 13 | +## Symptoms |
| 14 | + |
| 15 | +When using Power Automate for desktop, the element picker tool can't detect or "see" certain UI elements within desktop applications. This issue prevents you from selecting elements for automation tasks. |
| 16 | + |
| 17 | +## Cause |
| 18 | + |
| 19 | +Some desktop applications use custom UI frameworks or rendering methods that aren't compatible with the standard accessibility APIs that Power Automate for desktop relies on. This incompatibility can make certain elements invisible to the element picker. |
| 20 | + |
| 21 | +> [!IMPORTANT] |
| 22 | +> For coordinate-based solutions (Solutions [3](#solution-3-use-the-recorder-with-coordinates) and [4](#solution-4-use-move-mouse-and-send-mouse-click-actions)) to work reliably: |
| 23 | +> |
| 24 | +> - The screen configuration (resolution, DPI settings, scaling) must remain static at runtime and match the configuration used during development. |
| 25 | +> - Changes to the application's user interface structure might affect the effectiveness of these workarounds. |
| 26 | +> - Test your flows thoroughly when deploying to different machines or environments. |
| 27 | +
|
| 28 | +## Solution 1: Use Move mouse to image action |
| 29 | + |
| 30 | +1. Add a **Move mouse to image** action to your flow. |
| 31 | +1. Capture an image of the UI element you want to interact with. |
| 32 | +1. Enable the **Send a click after moving mouse** option. |
| 33 | +1. Configure any additional settings as needed. |
| 34 | + |
| 35 | +This action moves the mouse to the first occurrence of the specified image and sends a left click. |
| 36 | + |
| 37 | +## Solution 2: Use Move mouse to text on screen (OCR) action |
| 38 | + |
| 39 | +1. Add a **Move mouse to text on screen (OCR)** action to your flow. |
| 40 | +1. Specify the text that appears on or near the UI element you want to interact with. |
| 41 | +1. Enable the **Send a click after moving mouse** option. |
| 42 | +1. Configure OCR settings and click options as needed. |
| 43 | + |
| 44 | +This action uses Optical Character Recognition (OCR) to locate text on the screen or foreground window and sends a mouse click to that location. |
| 45 | + |
| 46 | +## Solution 3: Use the recorder with coordinates |
| 47 | + |
| 48 | +1. Open Power Automate for desktop and create a new flow. |
| 49 | +1. Select **Recorder** from the toolbar. |
| 50 | +1. Start recording and perform the click action on the desired UI element in your desktop application. |
| 51 | +1. Stop the recording. |
| 52 | + |
| 53 | +The recorder creates a **Click UI element in window** action with coordinate-based input parameters populated by using the respective values from your click action. |
| 54 | + |
| 55 | +## Solution 4: Use Move mouse and Send mouse click actions |
| 56 | + |
| 57 | +1. Add a **Move mouse** action to your flow. |
| 58 | +1. Configure the action to move the mouse to the specific coordinates of the target element. |
| 59 | +1. Add a **Send mouse click** action immediately after the Move mouse action. |
| 60 | +1. Configure the Send mouse click action to perform the desired click (left, right, or double-click). |
| 61 | + |
| 62 | +## Related content |
| 63 | + |
| 64 | +- [UI automation in Power Automate for desktop](/power-automate/desktop-flows/ui-elements) |
| 65 | +- [Use the recorder in Power Automate for desktop](/power-automate/desktop-flows/recording-flow) |
| 66 | +- [Mouse and keyboard actions](/power-automate/desktop-flows/actions-reference/mouseandkeyboard) |
| 67 | +- [OCR actions in Power Automate for desktop](/power-automate/desktop-flows/actions-reference/ocr) |
0 commit comments