SAP applications

On this page, you’ll find out what steps you need to take before you can automate SAP applications.

Deselect Ranorex EXE manifest files

When installing Ranorex Studio, deselect the Ranorex EXE manifest files under Ranorex Main Components during setup.

If you’ve already installed them:

In Windows, go to Add or remove programs.

Find the Ranorex Studio entry.

Select it and click Modify.

Select Change in the dialogue that appears.

Deselect Ranorex EXE Manifest Files under Ranorex Main Components.

Click Next and Finish once setup is done.

Note icon

Note

If this doesn’t work, you can also turn off User Account Control (UAC) in Windows as a last resort. Please refer to the Microsoft Windows documentation for how to do so.

Enable scripting in SAP

You need to enable scripting for both server and client in SAP for automation to work properly.

To enable scripting on the server:

Set the profile parameter sapgui/user_scripting to TRUE on the application server. Administrator privileges are required to do so.

To enable scripting in the client:

In SAP, open the SAP GUI Options dialog.

Under Accesibility & Scripting > User Settings, enable scripting and disable all notification options as shown below.

Troubleshooting

Insufficient privileges

Solution: Restart all Ranorex tools and the AUT with the same privileges, preferably as an administrator.