Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 1 of 5

Test management in Cloud ALM

12 min

Listen to this lesson

0:00 / 8:52

Test management in SAP Cloud ALM is built around one idea: tests come from the business processes in scope. You do not start with an empty test library and fill it. You start with the project's scope and solution processes, and you build test cases on top of them. Get that order right and traceability, coverage and readiness reporting come almost for free. Get it wrong and you end up with a pile of test cases the analytics cannot see.

  1. Scope and requirementsSolution processes in scope; requirements and user stories approved
  2. Test PreparationManual or automated test cases, related to processes, requirements and user stories
  3. Test PlansTest cases grouped for a cycle, sequenced, with one tester per test case
  4. Test ExecutionTest runs with a status per action and evidence
  5. Defects and analyticsDefects from failed runs, retest, and readiness by requirement and process
The Cloud ALM test management flow. This course covers the first three steps; the next course covers execution, defects and analytics.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

The four test apps

AppPurposeMain users
Test PreparationCreate, upload and maintain test cases; set them to PreparedTest authors, functional consultants, test lead
Test PlansGroup test cases for a cycle, set dates, sequence and testersTest lead
Test ExecutionRun assigned test cases, rate actions, attach evidenceTesters and key users
DefectsRecord and process failures found in test runsTesters, developers, consultants, test lead

Cloud ALM test management apps.

Cloud ALM has two test case types. A manual test case is made of activities, and each activity contains actions with instructions and an expected result. An automated test case is authored and executed in a connected test automation tool; Cloud ALM holds its general information and relations, triggers it and stores the results. Both types can sit in the same test plan, so a regression cycle can mix the two.

The Cloud ALM test objects: a test case belongs to a scope, may be based on a solution process, and is executed once per test plan occurrence.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

Who does what

At Contoso, Priya (test lead) owns the test approach and the test plans. Functional consultants write and maintain test cases for the processes they configured. Key users such as Maria (order to cash) review test cases for business correctness and later execute them in user acceptance testing. Cloud ALM's project roles reflect this split. Project Administrator, Project Lead and Project Member can create, edit and upload test cases and build test plans. The Tester role can view test cases and plans, execute test cases and create defects, but cannot change test content. Project Viewer can look but not execute. Deleting test cases or plans that already have results is reserved for Project Administrators and Project Leads. Permissions also depend on the project's access level and team assignments, so check SAP's role table against your own setup.

ISTQB term (CTFL v4.0)Cloud ALM objectNote
Test basisSolution processes, requirements, user storiesWhat tests are derived from; linked under Relations
Test caseManual test case: activities and actionsExpected results sit on each action
Test procedureThe ordered activities of one test caseThe Structure tab sets the order
Test execution scheduleTest plan with dates, testers and sequenceNot the same thing as an ISTQB test plan
Test run and test logTest run with action statuses, comments and evidenceFinished runs are read-only
Defect reportDefect, created from the failed runSeverity rules and workflow are yours to agree

ISTQB vocabulary mapped to Cloud ALM objects, so the test strategy and the tool use the same words.

Where test management fits in SAP Activate

Test planning starts in the Explore phase, once Fit-to-Standard has settled the scope. Test cases are prepared during Realize as configuration finishes, and SAP's guidance for S/4HANA Cloud Private Edition expects formal tests, such as end-to-end, integration, data migration and user acceptance tests, to be documented in Cloud ALM test management. Regression test plans are reused in Run for each upgrade or feature pack.

  1. ExploreScope settledProcesses in scope and requirements captured in Fit-to-Standard; test strategy written
  2. Early RealizeTest cases builtTest cases created from processes and refined by consultants; reviewed by key users
  3. RealizeIntegration and UAT plansTest plans per cycle; test cases Prepared; testers assigned
  4. RunRegression reusedThe same test cases reused in regression plans for upgrades
When test preparation work happens in an SAP Activate project.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

SAP also documents generating manual test cases with Joule, at the time of writing only for customers in an SAP Early Adopter Care program. It runs in two stages that you confirm one at a time: a Test Scoping Agent proposes what to test from a process and its directly linked requirements and user stories, then a Test Preparation Agent proposes coverage and generates manual test cases with steps and expected results, assigned to a new test plan. It needs a custom solution process with a custom BPMN flow diagram, and its output is only as good as those inputs. Generated test cases are flagged as created with AI and show a review banner while In Preparation. Review them exactly as you would one a consultant wrote, and check SAP Help for current availability before you plan around it.

Public Edition customers also have SAP's own test automation tool for SAP S/4HANA Cloud Public Edition, which ships standard automated tests for SAP Best Practices processes. For Private Edition and on-premise programs like Contoso's, manual test cases in Cloud ALM are the baseline, and automation is added through a connected provider. The connection is open: any automation tool that implements SAP's public Test Automation API can be registered by a Global Administrator as a Test Automation endpoint in Landscape Management (root URL plus Basic or OAuth 2.0 client-credentials authentication). Cloud ALM then calls the tool when processes are scoped, and when someone presses the synchronization button in Test Preparation it fetches the tool's automated test cases (and their data variants) so they can be related to processes and requirements and added to test plans like manual ones. The script itself never lives in Cloud ALM, so version control and maintenance of automated tests stay with the tool's owner, at Contoso Ravi's TCoE.

What would you do?

Contoso's consultants want to start writing test cases in Cloud ALM during the Prepare phase, before Fit-to-Standard. Priya has to decide. What is the best response?

Key points
  • Cloud ALM test management is process-based: test cases are built on scoped solution processes.
  • The test apps are Test Preparation, Test Plans, Test Execution and Defects, with analytics on top.
  • Manual test cases have activities and actions; automated test cases run in a connected provider.
  • An ISTQB test plan is a document; a Cloud ALM test plan is the container for one test cycle.
  • Test planning starts in Explore; test cases are prepared in Realize and reused for regression in Run.

Check your understanding · not graded

Lesson check

  1. 1. What is a test case in Cloud ALM built on?

  2. 2. What are the building blocks of a manual test case?

  3. 3. Which app groups test cases for a cycle and assigns testers?

  4. 4. In which Activate phase does test planning start?

  5. 5. In ISTQB terms, which Cloud ALM object is closest to a test execution schedule?