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

Lesson 2 of 5

Test cases from processes

9 min

Listen to this lesson

0:00 / 9:20

The recommended way to create a manual test case is from a solution process. Cloud ALM then knows which process the test covers, which scope it belongs to, and which activities it should contain. This lesson walks through the creation dialog and the choices that matter.

Creating the test case

  1. Open the Test Preparation app and filter by your project and scope.
  2. Choose Create and select the type Manual.
  3. Enter a title that says what the test proves, for example "Sell from stock, fleet customer, UAT".
  4. Confirm the project and select the scope.
  5. Select the solution process and, optionally, its solution process flow diagram.
  6. On the next step, choose which activities from the flow are in scope for this test case, and remove or add activities as needed.
  7. Save. The test case opens in status In Preparation.
  1. FilterTest Preparation filtered to the Contoso project and scope
  2. Create ManualTitle says what the test proves: "Sell from stock, fleet customer, UAT"
  3. Scope and processScope Contoso US, sell-from-stock solution process and its flow diagram
  4. Pick activitiesKeep order, delivery, goods issue and billing; drop what Contoso does not use
  5. SaveTest case opens In Preparation, ready for actions
Creating a manual test case from a solution process; the scope, process and flow diagram are chosen before the first save.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

Selecting a flow diagram is what makes the test case useful from the start: Cloud ALM prefills the activities from the process flow. For a sell-from-stock process those activities follow the steps of the flow, such as creating the sales order, delivering, posting goods issue and billing. You then refine them and add actions.

What comes from SAP Best Practices

SAP Best Practices content in SAP Signavio Process Navigator includes test scripts for each solution process, and Cloud ALM shows them as accelerators on the solution process. When you create a test case from a process, you get the structure. SAP's learning content for Private Edition notes that only the titles of the test procedures come across; the detailed actions are in the Best Practices test script, which you can use as the basis for your actions or upload as test case content.

What you get from the processWhat you still add
Link to scope, solution process and flow diagramActions with Contoso-specific instructions
Activities that follow the process flowExpected results with real values (prices, accounts, quantities)
A starting point consistent with SAP Best PracticesTest data references: customers, products, plants
Placement in traceability and coverage reportsEvidence-required flags on the actions that matter

Process-based creation gives structure; the team adds the specifics.

Contoso example

For order to cash, Priya's team creates "Sell from stock, fleet customer" in scope "Contoso US", from the sell-from-stock solution process. They keep the order, delivery, goods issue and billing activities, and drop an optional activity Contoso does not use. Under "Create sales order" they add actions: open the sales order app, enter sales area 1710 / 10 / 00, customer Great Lakes Fleet Services, product CMC-ALT-100, quantity 50, plant 1710; expected result: order saves with the agreed fleet price and a confirmed delivery date.

Volume: upload instead of typing

For dozens or hundreds of test cases, use Upload in Test Preparation with SAP's spreadsheet template. Each row is one action, and the activity title is repeated for each action under it. SAP's limits for one file are XLSX format, up to 5 MB, 500 test cases and 10,001 rows; SAP recommends no more than 20 activities and 100 actions per test case. You choose the scope at upload time, so prepare one file per scope, and do not add, rename or reorder columns.

  1. Load users firstEvery owner email in the file belongs to an existing Cloud ALM user
  2. Fill the templateOne row per action; repeat the activity title for each of its actions
  3. One file per scopeXLSX, up to 5 MB, 500 test cases and 10,001 rows; columns unchanged
  4. UploadChoose the scope at upload time in Test Preparation
  5. CheckSpot-check counts, owners and activities before review starts
Uploading test cases in volume: users before content, one file per scope, within SAP's file limits.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

Owners matter on upload. The template takes the test case owner as an email address; an address that does not yet belong to a Cloud ALM user is saved but shows as a former member until the person is added. Load users before content, or you will spend the first week of the cycle reassigning ownership by hand.

Test casePath it coversWhat it proves
O2C sell from stock: standardFleet order for 50 x CMC-ALT-100 from plant 1710, delivered and billedThe normal process works end to end
O2C sell from stock: credit blockOrder above Great Lakes Fleet Services' credit limitThe block is raised and only an authorized user can release it
O2C sell from stock: partial deliveryOnly part of the quantity is in stockBack-order and second delivery are handled correctly
O2C sell from stock: ChicagoSame order shipped from plant 1720Plant-specific settings and costs work
One solution process, several test cases: a standard path, exception paths and a plant variant, named so reports group them.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

What would you do?

A consultant created 40 Contoso test cases from processes but chose the wrong scope (Mexico instead of US) for all of them. The cycle starts in two weeks. What should Priya do first?

Key points
  • Create manual test cases in Test Preparation from a scope, solution process and flow diagram.
  • The flow diagram prefills activities; the team adds actions, expected results and data.
  • Only the creation dialog title is editable after saving, so review assignments before you save.
  • Use the spreadsheet upload for volume: one file per scope, within SAP's size and row limits.

Check your understanding · not graded

Lesson check

  1. 1. What does selecting a solution process flow diagram do when creating a test case?

  2. 2. In what status does a newly created test case start?

  3. 3. What is the maximum number of test cases in one upload file, per SAP's limits?

  4. 4. When uploading test cases, what is chosen once for the whole file?