Task flow for running SAP tests on DevOps Test Hub

You can commit SAP tests or compound tests that contain SAP tests to the remote Git repository and then run the tests from HCL DevOps Test Hub (Test Hub).

Prerequisites

You must install the following applications for running SAP tests on Test Hub:

  • SAP GUI that connects to an SAP application to record tests by using Test UI.

  • HCL DevOps Test Performance (Test Performance) in shell-shared mode with Test UI to define a location.

  • SAP GUI and DevOps Test Performance Agent on the system where the test must be run.

The task flow of a test run for SAP applications is as follows:
Task Description
Tasks in Test UI
Complete the prerequisites for recording an SAP test. Perform the following steps:
  1. Open the SAP GUI Configuration application.
  2. Select Accessibility & Scripting in the SAP GUI Options window.
  3. Select the Enable scripting checkbox under the User settings section.
  4. Clear the following checkboxes:
    • Notify when a script attaches to a SAP GUI
    • Notify when a script opens a connection
    • Show native Microsoft Windows dialogs
  5. Select the Visual Design section.
  6. Select the SAP Signature Theme option in Theme Settings.
  7. Click Apply, and then click OK.
Create an SAP test. See Recording an SAP test.
(Optional) Add the test to a compound test. See Creating a compound test.
Commit the SAP test or the compound test that contains the SAP test to the repository. See Publishing test assets to the remote Git repository.
Tasks in the system where DevOps Test Performance Agent is running
Complete the prerequisites for running an SAP test. Perform the following steps:
  1. Make sure that the SAP application to be tested is installed.
  2. Open the SAP GUI Configuration application.
  3. Select Accessibility & Scripting in the SAP GUI Options window.
  4. Select the Enable scripting checkbox under the User settings section.
  5. Clear the following checkboxes:
    • Notify when a script attaches to a SAP GUI
    • Notify when a script opens a connection
    • Show native Microsoft Windows dialogs
  6. Select the Visual Design section.
  7. Select the SAP Signature Theme option in Theme Settings.
  8. Click Apply, and then click OK.
Stop DevOps Test Performance Agent that is running as a service and start the agent as a process. By default, DevOps Test Performance Agent starts as a service. To run a SAP test on an agent, you must start DevOps Test Performance Agent as a process.
To start an agent as a process:
  1. Open the Services window in the system.
  2. Select the Majordomo service and then click Stop.
  3. Right-click the Majordomo service and select Properties.
  4. Select Manual in the Startup Type drop-down list.
  5. Navigate to the the Majordomo folder in the agent's installation directory, and double-click the Majordomo.exe file.
Tasks in Test Hub
Ensure that you have configured the DevOps Test Performance Agent on which you want to run the SAP tests. See Management of performance agents.
Ensure that you have configured the repository to access the SAP test or the compound test that contains the SAP test. See Managing repositories.
Run the test. See Configuring a run of a SAP GUI test.