microsoft / WinAppDriver

Windows Application Driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to find SAP GUI Element that has no UI Automation Id by function findElementBy*

996426872 opened this issue · comments

I use power automate detect SAP GUI ,some elements (can‘t be detected by inspect.exe) just have unique Id :

image

but code below can't find any element:
driver.findElementByXPath("//*[@id='wnd[0]/usr/txtRSYST-MANDT']");
driver.findElementById("wnd[0]/usr/txtRSYST-MANDT");

@996426872 Use Name to find the element, ID contains / maybe that is cause of elements not getting found, Try Name or XPATH.

It doesn't support SAP application