I am not able to identify element by selectors in SAP while targeting.
I can indicate element using only CV method.
Kindly help me with the resolution.
Thanks.
@srushtibg.17,
Check if scripting is enabled in SAP.
Also follow these steps to enable and use SAP Scripting
singh_sumit
(Sumit Singh Tariyal)
3
Hey @srushtibg.17 have you enabled Scripting from client and server side.
Enabling Scripting in SAP
- Log in to SAP GUI:
- Open the SAP GUI and log into the system where you want to enable scripting.
- Navigate to SAP GUI Options:
- Go to the Options menu.
- Click on the Customize Local Layout button (or press
Alt + F12
).
- From the dropdown menu, select Options.
- Enable Scripting:
- In the SAP GUI Options window, navigate to Accessibility & Scripting > Scripting.
- Check the box next to Enable Scripting.
- Ensure that Enable Scripting on Server is also enabled (this option may require admin access).
- Click OK to save your settings.
- Verify Scripting Settings on the Server (if needed):
- If you’re an admin or have access to the backend, you may need to ensure that scripting is enabled on the SAP server as well.
- This can be done using transaction RZ11 to check the parameter
sapgui/user_scripting
.
- Set the parameter to TRUE to allow scripting.
cheers