お問い合わせ

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 creating manual test cases from scratch there is a great new functionality to save a lot of time.

We can now import the pre-defined test cases delivered by the SAP Best Practice Team. You can find the content in the SAP Best Practice Explorer or you can download complete packages via the Software Download Center.

A complete description can be found in this Blog:

How to import Test Scripts from the SAP Best Practice content for SAP S/4 HANA Cloud into SAP Cloud ALM manual test cases

and in the SAP Note 3217681 - SAP Cloud ALM Manual Test Case Content for SAP S/4 HANA Cloud and SAP S/4HANA (private cloud and on-premise)

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 the Help Port: Integrating the Test Automation Tool for SAP S/4HANA Cloud.

    There are also two blogs that can be interesting for you:

    Integrating SAP Cloud ALM and the test automation tool for SAP S/4 HANA Cloud

    Integrating SAP Cloud ALM and the Test Automation Tool [TAT] for SAP S/4 HANA 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 appear in the Test Case Overview.

    For the test automation tool for SAP S/4HANA Cloud, automated test cases are created in the test automation tool when solution processes are added to a scope in SAP Cloud ALM. To update your list, choose Synchronize Automated Test Cases.

  3. You can also import test cases that were created directly the test automation tool, such as post upgrade tests from the test automation tool for SAP S/4HANA Cloud. To do this, choose Import, enter a search term, and import the test cases that you want to execute in SAP Cloud ALM. Then go back to the Test Case Overview to proceed with your preparation activities.

  4. Select 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 General Information.

  6. In the Requirements and User Stories tabs, assign the related requirements and user stories to your test case to ensure their test coverage and improve traceability.

  7. Once your automated test case is ready, change its status to Prepared.

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

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.

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.