WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

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

Open 996426872 opened this issue 2 years ago • 2 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 avatar Jan 10 '24 03:01 996426872

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

RakeshDangi-slt avatar Jan 10 '24 05:01 RakeshDangi-slt

It doesn't support SAP application

anunay1 avatar Jan 10 '24 19:01 anunay1