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

Lesson 3 of 5

Custom test cases and steps

19 min

Listen to this lesson

0:00 / 8:50

Not every Contoso process is SAP standard. The fleet consolidated invoice, a custom warranty-claim step and an interface to the dealer portal all came out of Fit-to-Standard as requirements. These need test cases written by the team, built on custom solution processes or on standard processes with extra activities. This lesson covers how to write activities and actions that a tester can execute without guessing.

The tabs of a test case

TabWhat you maintain
General InformationTitle, status, priority, owner, tags
StructureWhich activities the test case contains, and their order
ContentActions per activity: instructions, expected result, evidence required
RelationsRequirements, user stories, features, documents, process hierarchy nodes, interfaces, applications
ReferencesLinks to test data sheets, setup guides or training material

Manual test case tabs in Test Preparation. Layout may evolve with SAP's continuous releases.

Activities: business steps

An activity is a step a business person would recognize: "Create sales order", "Release credit block", "Post goods issue", "Create billing document". For a custom process, add activities in the Structure tab with a title and an activity number, and give each one an app name and URL so the tester can open the right Fiori app straight from the run (fill both fields or neither). Keep activities at the level of the process flow, not individual clicks. SAP recommends at most 20 activities per test case; split anything bigger.

Test caseO2C collective billing, fleet: the reusable test, linked to its process and requirement R-0142
ActivityRun collective billing: a business step with a target app
ActionRun collective billing for Great Lakes Fleet Services for the month
Expected result and evidenceOne billing document with all three deliveries; evidence required: item list and journal entry
The anatomy of a manual test case, from the reusable test down to the result a tester checks.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

Actions: instructions plus expected results

Actions are where test quality is won or lost. Each action has a title, instructions, an expected result and an Evidence Required flag. The instruction must be precise enough that a different tester would do the same thing, and the expected result precise enough that two testers would agree whether it passed.

PartWeakStrong
InstructionCreate an orderIn Manage Sales Orders, create a standard order for sales area 1710 / 10 / 00, sold-to Great Lakes Fleet Services, 50 x CMC-ALT-100, plant 1710
Expected resultOrder is createdOrder saves; net price 240.00 USD (list price); delivery date confirmed; no incompletion log
EvidenceScreenshotEvidence required: order item conditions showing the 240.00 USD price
Writing actions a tester can execute and a reviewer can judge.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

ISTQB defines a test case by its preconditions, inputs, expected results and postconditions. Cloud ALM has no separate field for each, so agree in the test strategy where each one goes:

  • Preconditions: in References (data sheet, setup guide) and, if the tester must do something first, as the first activity.
  • Inputs: named in the action instructions: customer, product, quantity, plant.
  • Expected results: on every action, as checkable values.
  • Postconditions: in the expected result of the last action, such as the delivery status or the stock left in 171A, so the next chained test case can rely on them.

Mark Evidence Required on actions whose result matters for sign-off or audit: prices, postings, approvals, authorizations. When a tester sets the status of such an action, Cloud ALM requires a screenshot as evidence. Do not mark every action; evidence fatigue makes testers capture meaningless screenshots.

Writing one action: a checkable expected result first, then Evidence Required only where the result matters for sign-off or audit.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

Custom processes and requirement-driven tests

For customer-specific processes, a process author can model a custom solution process in Process Authoring, with its own flow diagram. Test cases built on it inherit its activities just like standard processes. Where the requirement modifies a standard process, such as the consolidated invoice changing billing, create a test case on the standard process and add or adjust the billing activity's actions. SAP's guidance is that custom logic must be reflected in the relevant standard test cases, so a test still checks the outcome the business now expects.

  1. Is the requirement a business process the standard content does not have at all?Yes → model a custom solution process in Process Authoring and build test cases on it · No → next question
  2. Does the requirement change part of a standard process?Yes → test case on the standard process; add or adjust the affected activity's actions · No → next question
  3. Is it a control that should stop something happening?Yes → add a negative or authorization test case · No → standard test cases already cover it
Choosing where a test for custom logic belongs, so the tests check the outcome the business now expects.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-203

Negative and authorization tests

Custom test cases are also where you write the tests the standard content rarely covers: what should not happen. A test that a user without the billing role cannot release a credit block, or that an order above the credit limit is blocked, proves controls the auditors care about. Write the expected result as the refusal itself, for example "system blocks the order with a credit-limit message; no delivery can be created", and mark it evidence required. Business role tests are part of SAP's implementation test levels for a reason: a process that works for a super-user and fails for the real role is not ready.

References and test data

Use the References tab for links to the test data sheet, the setup guide, or a document describing prerequisites. Testers should not have to ask which customer or product to use. A reference to "Contoso test data, O2C cycle 1" with named master data and starting stock is worth more than any amount of explanation in chat.

What would you do?

Maria, reviewing a draft test case, finds the expected result for billing says only "Invoice OK". What should she ask the author to change?

Key points
  • Test cases have General Information, Structure, Content, Relations and References tabs; activities can carry an app link.
  • Activities are business steps; actions carry precise instructions and checkable expected results.
  • State preconditions, inputs, expected results and postconditions, the four parts ISTQB expects of a test case.
  • Mark Evidence Required only on actions that matter for sign-off or audit.
  • Custom processes get test cases like standard ones; custom logic must be reflected in the affected standard test cases.

Check your understanding · not graded

Lesson check

  1. 1. In which tab are actions with instructions and expected results maintained?

  2. 2. What does marking an action Evidence Required do?

  3. 3. Where do you link a test case to a requirement or user story?

  4. 4. What level of detail suits an activity?

  5. 5. Where should a test case's postconditions usually be stated in Cloud ALM?