SAP login issue earlier it used to login without issue can anyone help me !!! not able to find the reason . though SAP Logon executed successfully but login failed.
Error message : SAP Login ‘saplogon.exe SAP’: Cannot find the UI element corresponding to this selector:
please take a look at this side, how to configure SAP that SAP GUI Scripting runs successfully. Especially look at RZ11 configuration and the High Speed Connection of the network settings. Both can be a reason for this behavior, although SAP GUI Scripting is installed and correctly enabled.
Hi Stefan, user and I (developer) both have no access to RZ11; but the setting on the client side was already done. Actually the tricky thing is, sometimes user is able to log in SAP and sometimes gets this error.
Not sure if ‘using SAP GUI Scripting’ you said is the same meaning as log in SAP. The situation is the same user on the same computer, sometimes can log in SAP with her own sap id & password, sometimes receive error ‘SAP Login ‘saplogon.exe SAP’: Cannot find the UI element corresponding to this selector’.
For SAP login, I am using UiPath.Core.Activities.SAP.Login.
And I just checked configuration steps, ‘setting on client side’, ‘Enabling High Speed Connections’ and ‘Enabling Modal Dialog Boxes’ were all set correctly on user’s computer (before she met the error) .
Please try to change your selector. Use an asterisk in front of your title name. In some cases it could be possible that the window title is different, and this could be a reason why UiPath can’t find the element.
E.g. in the Visualization 2 section of the options it is possible to add information to the Window Title, and if this is activated it is part of your selector.
I thought that the screen name will always be SAP only before log in, so didn’t change that before. Let me try this out. Will let you know the result. Thanks Stefan.
Hi Stefan, it still does not work. Error msg: SAP Login ‘saplogon.exe SAP’: Cannot find the UI element corresponding to this selector: wnd app=‘saplogon.exe’ title=‘*SAP’ />
One thing I noticed is that when error occurred, the Search field and button behind will disappear. I am thinking that is why selector is invalid. But I don’t know why they disappear and where to do setting.
Hi @LevKushnir and @StefanSchnell , do appreciate for your help. I want to add one thing I found today that this login issue not only happens when it needs to enter SAP id & password, but also happens when using single sign on. The error msg on user’s side is still
“Call transaction ‘saplogon.exe SAP’: Cannot find the UI element corresponding to this selector: wnd app=‘saplogon.exe’ cls=‘SAP_FRONTEND_SESSION’ title=‘*’ /” .