Python-UIAutomation-for-Windows icon indicating copy to clipboard operation
Python-UIAutomation-for-Windows copied to clipboard

Unable to Access Certain Interactive Elements on Windows 11

Open Jeomon opened this issue 10 months ago • 3 comments
trafficstars

I am using the uiautomation library on Windows 11 to interact with desktop elements. While the library works well for many tasks, I have encountered significant limitations in accessing certain interactive elements. Specifically:

  1. Start Menu:

    • The library does not detect the elements within the Start Menu, such as the icons under the "Pinned" and "Recommended" sections.
  2. Dropdown Menus in Applications (e.g., Notepad):

    • When I click on the "File" menu in Notepad, the elements in the dropdown menu are not accessible.

Steps to Reproduce

  1. Install and configure the uiautomation library.
  2. Attempt to interact with elements in the Windows 11 Start Menu or dropdown menus in applications like Notepad.
  3. Observe the inability to access certain elements.

Expected Behavior

The library should be able to identify and provide access to all interactive elements, including those in:

  • The Start Menu (e.g., icons in "Pinned" and "Recommended").
  • Dropdown menus in applications (e.g., "File" menu in Notepad).

Actual Behavior

The library does not detect the mentioned elements, making them inaccessible for automation tasks.

Environment

  • Operating System: Windows 11

Questions

  1. Does this library support accessing such elements on Windows 11?
  2. If not, is there any plan to enhance support for these elements?
  3. Are there alternative approaches or configurations within the library that I might have missed?

Jeomon avatar Jan 08 '25 09:01 Jeomon