--- title: "SAP GUI Setup for Test Automation" slug: "sap-test-automation-setup" updated: 2026-03-16T10:25:36Z published: 2026-03-16T10:25:36Z canonical: "success.panaya.com/sap-test-automation-setup" --- > ## Documentation Index > Fetch the complete documentation index at: https://success.panaya.com/llms.txt > Use this file to discover all available pages before exploring further. # SAP GUI Setup for Test Automation Follow the steps in this article to ensure your SAP system is ready for SAP GUI automation with Panaya. **Prerequisites** - SAP GUI for Windows: Release 8.0 and later. > [!WARNING] > Permissions required for remote agents to successfully execute SAP GUI automated tests > > To run SAP GUI automated tests remotely, the agent and the SAP GUI client must be installed and launched by the same Windows user. This is needed to allow access to configuration files and proper interaction of the agent with SAP GUI. > > The user must have read and write access to - > > - The SAP GUI installation folder (typically: C:\Program Files (x86)\SAP\FrontEnd\SAPgui) > - All SAP configuration files (such as saplogon.ini and sapshortcut.ini) > - If the SAP Logon was copied to another folder (e.g. Desktop), the user also requires full access to that location. ## Scripting and Security Settings 1. In the SAP log-on screen, press the button in the top left-hand corner and select **Options.** ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-KMRPQYB6.png) 2. Under **Accessibility & Scripting,** select **Scripting.** **Check** the **Enable scripting** option and **uncheck** all other options as shown below. ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-NE00AWV2.png) 3. Select the **Security** folder and **Security Configuration**, then click on **Open Security Configuration.** ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-TUDTGXQ3.png) 4. Change the Status to **Customized** with the Default Action set to **Allow**. ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-RMEF4PPB.png) 5. **Apply** the new settings and click **OK.** > [!WARNING] > Note > > The specific settings take precedence over the general settings. If a specific row is marked as "deny," a general "allow" setting will not be sufficient. > > In this case, you need to change the specific row setting to "allow." > > Alternatively, in the previous screen, you can override all restrictions by changing the status to "disable." > [!NOTE] > No SAP permissions? > > Please get in touch with your SAP Basis administrator for assistance. ## SAP Network Settings The process below should be repeated for every client machine and SAP system on which Panaya will be used. 1. In SAP Logon, **right-click** on the **relevant** **system** & select **Properties.** ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973119012.png) 2. Select the **Network tab.** 3. Under **Network Settings**, verify that the **High-Speed Connection (LAN)** option is checked. ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973128736.png) 4. Click **OK.** ## **SAP Authorizations** To use SAP GUI Scripting, a user needs the SAP authorization object - S_SCR – (SAP GUI Scripting Authorization) ACTVT (Activity) – 16 (Execute) This object controls whether a user is allowed to run or record SAP GUI scripts. ## **SAP Server Settings** Use transaction **RZ10** to set the following parameters - - sapgui/user_scripting = TRUE - sapgui/user_scripting_disable_recording = FALSE - sapgui/user_scripting_set_readonly = FALSE If SAP GUI for Windows is installed together with SAP BC (former NWBC), the following parameter is also required - sapgui/nwbc_scripting = FALSE 1. Start transaction **RZ10** 2. For **Profile**, select **Default** 3. Select **Extended maintenance** ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973171525.png) 4. Click ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973179797.png) 5. Click ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973206822.png) 6. Type Parameter name **** Type Parameter value **** ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973229769.png) 7. Select ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973242597.png) 8. Select **Yes** when prompted to save the changes in the parameter 9. Select ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973266365.png) 10. Select **Yes** when prompted to save the changes in the profile 11. Save the profile by clicking ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638973281923.png) 12. Select **Yes** when prompted to activate the profile After setting all parameters, make changes effective by either - - Restarting the SAP application server or - Using transaction **RZ11** to set all parameters while SAP is still running > [!NOTE] > Once the setup is complete, define at least one [SAP connection](https://success.panaya.com/docs/sap-connections) for capturing scripts with Panaya ScriptBuilder.