Configuring a run of an SAP GUI test
When you want to run an SAP GUI test, then you must configure a run of SAP GUI test or the Compound Test that contains SAP GUI tests on HCL DevOps Test Hub (Test Hub).
Before you begin
- Read and completed the tasks mentioned in Test run considerations for running tests on remote performance agents, if you want to use a remote agent as the location to run the test.
- Created a Compound Test that contains SAP GUI tests in HCL DevOps Test UI (Test UI) and added the test asset to the project repository on Test Hub. Refer to Task flow for running SAP tests on DevOps Test Hub.
- Completed the Xray integration, if you want to export the test results to a Jira issue in your Xray project in Jira. See Integration with Xray test management for Jira.
- Ensured that you are assigned a role as a Member or Project Creator in the team space. See Managing members and their roles in a team space.
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Created a project in your team space in Test Hub. See Creating a project.
- Added the remote Git repository that contains the test resources to the project. See Adding repositories to a server project.
About this task
Procedure
-
Log in to Test Hub.
The Projects page of the initial team space is displayed.
-
Open the project that contains the test assets, and then click
Execution.
The test assets in the selected branch of the repository are displayed on the Execution page.
-
Perform any of the following steps based on the test you want to run:
- Click the TESTS tab to run the SAP GUI test.
- Click the SUITES tab to run the compound test that contains the SAP GUI test.
-
Identify the test that you want to run and click the
Execute icon
in the row of the identified test asset.
The Execute test asset dialog is displayed.Note: If you do not want to continue with the current settings, click Reset to reset the settings. - Select the version of the test resources that you want to run.
- Optional: Click Schedule to select a time for scheduling the test run.
- Optional:
Click the Add a label icon
, type a label to identify the test on the Results page, and then press the Enter key.
-
Perform the following steps to select the performance agent and run the SAP GUI
tests:
- Optional:
Click Advanced to make
the following advanced configurations:
Note: You must separate the arguments or variables with a white space when you enter them in the same line or start each argument or variable on a new line.
The default value for each of the fields for the advanced settings is null or an empty field.
If you want to run the test immediately or at the scheduled time, click Execute, or continue with the next step.
- Optional:
Follow the instructions if you are running a test asset that contains
datasets:
If you want to run the test immediately or at the scheduled time, click Execute, or continue with the next step.
- Optional:
Follow the instructions in this step if the test requires a variable that must
be passed to the test at the test run time.
You must configure the supported browser by using a variable if the test has a browser configured, which is different from the one that is supported by Test Hub.
The default value for the variables is either null or an empty field.
If you want to run the test immediately or at the scheduled time, click Execute, or continue with the next step.
- Optional:
Follow the instructions if you want to export the test results to a
Jira issue in your Xray project in Jira:
- Click Execute.
Results
What to do next
- Stop the test run at any point after the test run is initiated from the Execution page. See Stopping test runs.
- Cancel a scheduled test run from the Execution page. See Canceling scheduled test runs.
- View all the states of the test asset by
clicking the Show in the Progress page icon
for the test asset for which you started or scheduled the run. See Viewing the state of test assets.
- View the progress of the test from the Progress page. See Viewing the progress of running test assets.
- View the results, reports, and logs of the test from the Results page after the test completes the run. See Test results.