Test Preparation

In the Test Preparation app, you can manage and prepare test cases to ensure that the requirements you've implemented work from a functional perspective.

In detail, the following options are available:

  • Get an overview of all of your manual and automated test cases in one single app

  • Create manual test cases and prepare their structure and content by defining activities and actions

  • Integrate automated test cases from the connected test automation tool

  • Create and manage automated test cases from the connected test automation tool

  • Assign requirements and user stories to test cases

  • Track the progress of the test preparation

To ensure that the requirements you've implemented work from a functional perspective and to find out if the end users know how to work with the system, you can create manual test cases.

Here's how you can create a new manual test case and prepare it:

  1. On the Test Case Overview, choose Create.
  2. If your test case list isn't filtered by a scope, solution process, and solution process flow diagram yet, you can select them now.

    Please note that you can't assign a test case directly to a solution process. If you select a solution process, you also need to select a solution process flow diagram.

  3. In the Structure tab, define the structure of the manual test case by choosing which activities to add to the test case scope, and in which order the tester should execute them.

  4. In the Content tab, create the content of the test case by adding more granular substeps (Actions) to the activities.

  5. For each action, enter detailed instructions and expected results for the testers to carry out.

  6. In the Requirements tab, assign the associated requirements to your test case.

  7. Once your manual test case is finished, change the preparation status to Prepared.

Your test case is now available in the test execution and can be executed.

In addition to manual test cases that can be created directly in the Test Preparation app, you can also integrate automated test cases from the test automation tool for SAP S/4HANA Cloud.

This allows you to gain an overview of your test cases, and enables you to execute them directly from the Test Execution app.

Here's how you can integrate your automated test cases with SAP Cloud ALM:

  1. Create a destination for test automation by following the instructions described in Integrating the Test Automation Tool for SAP S/4HANA Cloud.

  2. After the connection between SAP Cloud ALM and the test automation tool has been established, automated test cases are automatically retrieved and will show up in the Test Case Overview.

  3. To create a new automated test case, choose Create, enter a title, and select Automated.

    Then select the source and the scope of your test case. Optionally, you can also assign the test case to a solution process.

  4. From the Test Case Overview, choose the respective row in the table to view more information about an automated test case.

    Tip: You can also navigate directly to the test automation tool by choosing the variant.

  5. To edit the automated test case in the test automation tool, click on its title or its variant under Context.

  6. Go to the Requirements tab and assign the associated requirements to your test case.

  7. Once your automated test case is ready, change the preparation status in the top-right corner to Prepared.

Your test case is now available in the test execution and can be executed.

For more information about the preparation and execution of automated test cases, you can also watch the following step by step video tutorial:

In the Test cases list, you can get an overview of all manual and automated test cases that are available for your project.

From here, you can work on existing manual test cases to prepare them for the test execution, or create new ones. For more information, have a look at the section Creation & Preparation of Manual Test Cases.

You can also integrate your automated test cases from the test automation tool for SAP S/4HANA Cloud and jump directly to the tool to edit them. For more information, have a look at the section Integrating Automated Test Cases.

  • Retrieve your automated test cases and data variants for all business processes from the connected test automation tool.
  • Please note that the synchronization can only take place for one scope at a time for performance reasons.
  • If your test case list is currently filtered by a scope, the corresponding automated test cases and data variants will be refreshed.
  • If there's no scope or multiple scopes in your filter context, you need to select a scope after you choose Synchronize Automated Test Cases.
  • Once the automated test cases have been retrieved from the test automation tool, you can access them directly by clicking on their name in the list.

Here, you can see the preparation statuses of all test cases for your current filter context.

The preparation status of a test case can either be Prepared if it's ready to be tested, or In Preparation if the preparation is still ongoing.

You can change the preparation status of a test case by clicking on the test case row to navigate directly to the test case. After you've finished your preparation activities, you can activate the switch in the top-right corner.

Once the preparation status is Prepared, the test case can be executed.

  • You can see the data variants for your automated test cases.
  • You can define the data variants for automated test cases directly in the connected test automation tool.
  • Some test automation tools don't use the concept of data variants, in which case this column is empty.