Task flow for running SAP tests on DevOps Test Hub

You can add SAP tests that were created in HCL DevOps Test UI (Test UI) to a schedule 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 add the SAP test to a schedule and 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.
Add the test to a schedule. Perform the following steps:
  1. Open the Performance perspective.
  2. Create a new schedule.
  3. Click User Group 1 and then click Add > Test.
  4. Select the SAP test and click OK.
  5. Click User Group 1 and then select the Run this group on the following locations button.
  6. Click Add... > Add New....

    The New Location window is displayed.

  7. Enter the following information:
    1. Host name: IP address or the host name of the system where DevOps Test Performance Agent is installed to run the schedule.
    2. Name: Name of the system that has DevOps Test Performance Agent running.
    3. Deployment directory: Path where the test assets must be copied for execution.
    4. Operating system: Operating system of the system where DevOps Test Performance Agent is running.
  8. Click Finish.
  9. Select Requirements from the Category field in the VU Schedule Details pane.

  10. Select the Enable Requirements checkbox and add a requirement.

    After the test run, the Results page in Test Hub displays the verdict summary with the conditions defined in the Requirement list.

  11. Save the schedule.
Commit the schedule to the repository. See Publishing test assets to the remote Git repository.
Tasks in the system where DevOps Test Performance Agent is running
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 in the schedule 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 schedule. See Management of performance agents.
Ensure that you have configured the repository to access the schedule. See Managing repositories.
Run the schedule. See Configuring a run of a Rate Schedule or VU Schedule.
Note: In the LOCATION tab, you must select the performance agent in the Host as the location to run the test. The performance agent is also displayed in the Override column.