Edit

Share via


Clicking an SAP UI element fails

This article helps you resolve issues with UI automation actions (such as clicking an SAP UI element) that occur because the application isn't fully dots per inch (DPI) aware.

Symptoms

When you try to click an SAP UI element, the mouse cursor moves and appears to locate the element. However, the cursor isn't positioned over the correct element, causing the click action to fail.

Cause

This issue occurs because the SAP application isn't fully DPI aware and might not always scale properly on high-DPI displays. When a user captures an element on a machine other than the one where the flow is run, and the two machines have different screen resolutions, the flow might fail. This behavior can also occur on machines with multiple screens.

Resolution

  1. In the SAP application, go to SAP settings > Visual Design > Theme Settings and enable the Multi-monitor scaling awareness option.

    Note

    This option isn't available in all themes.

    Screenshot of the Multi-monitor scaling awareness option in SAP Theme Settings.

  2. On Windows, go to System > Display and set the Scale to 100%.

Third-party information disclaimer

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.