robocorp / rpaframework

Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used with both Robot Framework and Python
https://www.rpaframework.org/
Apache License 2.0
1.13k stars 218 forks source link

The element attributes obtained by rpa. windos are different from those obtained by the accessibility tool #1096

Open CracktRoops opened 11 months ago

CracktRoops commented 11 months ago

The rpa. windos scroll bar property is name: position and type: Thumb. After opening a window and closing it, the scroll bar property changes to name: position and type: CustomimControl. The type found using the element lookup tool is Thumb, and the code runtime found type: CustomimControl. What is the reason for this?

cmin764 commented 10 months ago

Good question, can you post more details about it? Like:

  1. App name/binary (if not private)
  2. Tasks package code (former robot)
  3. What do you mean by "element lookup tool", is this Accessibility Insights? (or our helper tool windows-record)
  4. And by "code runtime", do you mean the printed logs by Print Tree?

Just in case the control type suddenly changes (and a better locator using name: / id: or class: strategies is not feasible), maybe it is worth trying an alternative one with the path: strategy.