Hi, i’m working on a process that uses SAP, and I have to extract an excel sheet, so I have to right-click a grid and press “Spreadsheet…”.
But i’m having problems “waiting” for the context menu to show up. I added a 2 seconds delay and that works, but i’d like a more elegant solution than a delay.
This is the selector I get from recording:
wnd aaname=‘Context’ app=‘saplogon.exe’ cls=‘#32768’ />
The problem, (to me) is that the selector for the context menu isn’t very explicit, or i’m getting it the wrong way (in uipath explorer it says “invalid ui node” if I try to select it), so if I try a “on element appear” for example, it shows the error “the ui element is no longer valid”.
Is there a workaround to get the proper selector, or use the one I have to wait for the element?
Thanks!