REW

How To Create Test Cases In Cloud Alm?

Published Aug 29, 2025 5 min read
On this page

In SAP Cloud ALM, you create and manage test cases in the Test Preparation app. The platform supports both manual and automated test cases and provides a process-oriented approach by linking test cases directly to your solution processes, requirements, or user stories.

Creating a manual test case

Manual test cases are designed for human testers to follow a series of steps to validate a functionality. They are ideal for user acceptance testing (UAT) and other formal tests that need detailed documentation.

Step-by-step guide

  1. Access the Test Preparation app. Log in to your SAP Cloud ALM tenant and navigate to the Test Preparation app.
  2. Start creating. Click the Create button. A dialog box will appear.
  3. Choose the test type. In the Type dropdown, select Manual.
  4. Enter test case details:
    • Title: Provide a descriptive title. For example, include the business process and test purpose, like "UAT: Create Sales Order".
    • Project: The project is pre-filled based on your current context.
    • Scope: Select the relevant scope for your implementation project.
    • Solution Process (optional): Selecting a solution process is highly recommended, as it integrates the test case with your business processes. When you do, SAP Cloud ALM can pull in standard test procedure titles from the SAP Best Practices content.
    • Solution Process Flow Diagram (optional): If you've selected a solution process, you can select the relevant flow diagram to link the test case to specific process activities.
  5. Refine the test structure: After saving the initial details, you will be taken to a new page to define the test activities and actions.
    • Activities: These represent major parts of the test, such as "Prepare Master Data" or "Enter Transaction."
    • Actions: These are the individual, detailed steps within each activity.
  6. Add test steps: For each action, enter the Instruction (what to do) and the Expected Result (what should happen).
    • You can add or remove activities and actions as needed. Note that if you linked a solution process, some activities from the SAP Best Practices content will be prepopulated; you can mark these as in-scope or out-of-scope, but you cannot delete them.
  7. Set the preparation status: Once the test case details are complete, update the Preparation Status to Prepared. This makes it ready for assignment and execution.

Creating an automated test case

Automated test cases are executed by an integrated test automation tool. SAP Cloud ALM orchestrates these tests and records the results, while the actual automation script runs within the third-party provider.

Key automation concepts

  • Automation Provider: This is the external tool that performs the automation, such as Tricentis Test Automation for SAP, UiPath Test Suite, or Panaya. Your SAP Cloud ALM tenant must be integrated and configured with this provider beforehand.
  • Synchronization: Test cases can be created in SAP Cloud ALM and pushed to the provider, or created in the provider and synchronized back to SAP Cloud ALM.

Step-by-step guide

  1. Access the Test Preparation app and click Create.
  2. Select the test type. In the Type dropdown, select Automated.
  3. Configure test case details:
    • Automation Provider: Select your configured automation provider from the list.
    • Title: Enter a unique title for the test case.
    • Scope: Choose the relevant scope. This helps link the test to your project structure.
    • Solution Process (optional): Select the business process to provide context for the automation.
  4. Synchronize with the automation tool:
    • If creating the test case in SAP Cloud ALM, saving the test case automatically creates a corresponding test entry in your automation provider's tool.
    • If creating the test case in the provider's tool, create it there first and ensure the SAP context (e.g., scope and solution process) is set. Then, in the SAP Cloud ALM Test Preparation app, use the Synchronize Automated Test Cases function to pull the new test case into the platform.

Importing test cases via mass upload

For large volumes of manual test cases, a mass upload is the most efficient method.

Step-by-step guide

  1. Access the Test Preparation app and find the Upload button.
  2. Download the template. Click the button to download the manual test case template, which is a spreadsheet file.
  3. Populate the template:
    • Fill in your test case data, including titles, descriptions, activities, and actions.
    • Follow the guidelines for maximum file size, number of test cases, and number of activities and actions per test case.
  4. Upload the file. Return to the Test Preparation app and perform the upload. The system will create the test cases based on your populated spreadsheet.

Best practices for test case creation

  • Establish traceability: Always link your test cases to the relevant project scopes, solution processes, requirements, or user stories. This is a core benefit of SAP Cloud ALM, as it allows for end-to-end traceability and visibility of testing progress.
  • Leverage pre-delivered content: For SAP S/4HANA solutions, SAP provides standard test procedures based on Best Practices. When you link your test case to a solution process, you can leverage this content to prefill your manual test activities.
  • Focus on reusability: Design test cases that are reusable across different test cycles or phases, such as functional testing, integration testing, and user acceptance testing. Use a process-oriented approach to ensure they can be applied to different parts of the project lifecycle.
  • Utilize consistent naming conventions: A clear and consistent naming convention for test case titles, activities, and actions helps with organization and searchability.
  • Keep it lean and clear: For manual test cases, ensure instructions are clear and the expected results are well-defined. Avoid overly complex test cases by breaking them down into smaller, more manageable ones.
  • Manage statuses effectively: Use test case preparation statuses to track progress. Mark cases as "Prepared" to signal that they are ready for test plans and execution.

The end-to-end testing process in SAP Cloud ALM

Creating test cases is just the first step in a comprehensive testing process. In SAP Cloud ALM, the overall workflow looks like this:

  1. Preparation (Test Preparation app): You create and refine manual and automated test cases.
  2. Planning (Test Plan app): You group your test cases into test plans, which represent specific test cycles or phases (e.g., sprint testing, UAT). You also assign testers to these plans.
  3. Execution (Test Execution app): Testers perform manual tests or trigger automated ones. Results are documented directly in the app.
  4. Defect Management (Test Execution app): If a test fails, a defect can be created directly from the test run, ensuring traceability between the issue and the test case.
  5. Monitoring and Reporting: Dedicated dashboards and analytics apps provide real-time insight into the test progress and results.
Enjoyed this article? Share it with a friend.