Sap selector problem

Hi guys,

I am working on sap gui automation. I want to take case id from excel and need to add it in sap page and then change the date related to caseid and do it for all the give case id in the excel file

Its working fine for 1st iteration of the for loop. But when 1st iteration done then for second iteration the robot is unable to find the element on the screen . It shows error no ui element find related to given selector.
Please help me in this.

Thanks

@dilsher_khan,

Can you Please share the screenshot of selector error.

Capture2

hi please check the selector

hi @dilsher_khan

have you enabled the GUI Scripting in SAP. And if yes, then use the anchor activity or give the anchor to the target selector. Hope it will works.

To enabled the GUI Scripting in SAP please refer
Enabling SAP GUI Scripting

Cheer :grinning:

Regards
Achal Sharma

1 Like

Hi Thanks for help, its working fine.
But some element in tool bar are not identified separately, it only identify the full tool baar, And all the button on tool baar like Save button, Edit button have save selector showing.So what to do in this case.

Hi @dilsher_khan

You can use Computer Vision or click image or click text activity to click or identify the selector.

Regards
Achal Sharma

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.