Skip to main content

When simulating keyboard operations on a web page, if the web page is minimized, the operation will fail.

can't catch the specified element

Hi @xingtong.l2,

When using Automation Anywhere A360, simulating keyboard operations on a web page can indeed fail if the web page or the Remote Desktop Protocol (RDP) session is minimized. This is because the bot relies on the active window to interact with elements, and minimizing the window can disrupt this interaction12.

Here are a few solutions you can try:

  1. Ensure the RDP session remains active: Avoid minimizing the RDP window. You can use a script to keep the session active or adjust the settings to prevent the session from locking or minimizing1.

  2. Modify Registry Settings: You can change the registry settings to prevent the RDP session from being suppressed when minimized. This involves creating a new DWORD value named RemoteDesktop_SuppressWhenMinimized and setting its value to 21.

  3. Use Unattended Mode: If you are running the bot in unattended mode, ensure no other active sessions are interfering with the bot’s session. This can help maintain the bot’s interaction with the web page elements2.

  4. Adjust Display Settings: Ensure the display scaling settings for the remote machine are set to 100% to avoid any resolution issues that might affect the bot’s performance2.


Reply