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

Lesson 1 of 5

Executing tests

11 min

Listen to this lesson

0:00 / 6:23

Test preparation produces test cases and test plans. Execution produces the evidence that a release is ready. In SAP Cloud ALM that evidence is created in the Test Execution app, one test run at a time. This lesson shows how a tester finds their work, starts and resumes runs, and finishes them cleanly.

Finding your tests

When the test lead sets a test plan to In Testing, its Prepared test cases are released to the assigned testers. Open Test Execution: by default the list is grouped by test plan and shows only plans that are In Testing. The two filters that matter most are test plan and tester: choose the current cycle's plan and your own name, and the list shows the test cases assigned to you with their latest status. Save this as a personal view; you will use it every morning of the cycle.

Starting a run

  1. FilterTest plan and tester; pick the next test case in sequence
  2. ExecuteStart a test run; the activities and actions appear in order
  3. Perform and rateDo each action in the test system; set its status and add comments or evidence
  4. Raise defectsFor failed actions, create or assign a defect from the run
  5. FinishFinish the test run when every action is rated; the run becomes read-only
A manual test run in Cloud ALM.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-204

Choose Execute on the test case to start a run. The run shows each activity with its actions: the instruction, the expected result, and whether evidence is required. Activities can carry a direct link to the app, and the test case's references appear in the run header. Work through the actions in the quality system, for Contoso client 100 of CMQ, and rate each action as you go.

Before the first action, check the preconditions in the test case's References: the data sheet, any setup steps and the starting stock. If Contoso's test needs 50 alternators CMC-ALT-100 in storage location 171A and there are only 20, stop and tell the test lead. A run that fails because the data was missing produces a misleading failure and, often, a defect that wastes a developer's afternoon. Record blocked preconditions in a comment rather than forcing the test through.

Automated test cases in the same plan behave differently. They come from a connected automation tool through SAP's public Test Automation API, so the tester (or a scheduled job in the tool) triggers them from the Test Execution list rather than stepping through actions. The tool runs the script against CMQ and reports the result back to the run, usually with a link to the tool's own log. Treat that log as the evidence: if a regression run fails, the first question is whether the system or the script broke, exactly as with Fail - Test Case Correctness for manual tests. Defects for automated test cases are raised from the test case list, not from inside a run.

Resuming and rerunning

Real tests get interrupted: a meeting, a missing authorization, a job that has to run overnight. If a run already exists for the test case in the plan and is not finished, Test Execution shows Resume instead of Execute, and you continue with the ratings and comments you already entered. To start a fresh run instead, resume the open one and choose Finish Test Run first.

Once a run is finished it is view-only and stays in the test case's Executed Test Runs list, where a history view shows every status, actual result and defect in order. If the test needs to be done again, for example after a fix, start a new run in the same plan. The test case's row in the plan then shows the new run's status, while the earlier failure stays in the history for audit. Test Execution Analysis reports runs, not test cases, so check how reruns show up in your tenant before you quote totals.

  1. MondayRun 1 startedMaria runs "O2C sell from stock, fleet customer" in the UAT plan
  2. MondayRun 1 finished: FailedOld 235.00 USD price applied instead of the 240.00 list price; defect raised; run becomes read-only
  3. WednesdayFix importedThe pricing fix reaches client 100 of CMQ
  4. ThursdayRun 2 finished: PassedA new run in the same plan; it is now the latest run
  5. ReportTest case shows Passed in the planRun 1 stays in history as evidence of the defect
Two runs of one test case in one plan: only the latest sets the status, and the earlier failure stays in history.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-204
SituationWhat to do
Interrupted mid-testResume the open run later; do not start a second one
Finished and passedNothing more; the run is your evidence
Finished and failed, fix deliveredStart a new run in the same plan to retest
Wrong plan used by mistakeTell the test lead; rerun in the correct plan so the cycle report is right

Runs: resume, rerun or leave.

Overall run status

The run's overall status comes from its actions. A run is Initial until the first action is rated and In Progress while it is open and nothing has failed. It turns Failed as soon as one action fails, even if other actions haven't been run yet, and Passed when the run is finished with every action passed. A run started by accident or on the wrong data can be Withdrawn. The statuses show once the run is saved. SAP ships changes continuously, so check the labels in your tenant.

How a run's overall status develops: one failed action fails the run at once, and only a finished run with every action passed is Passed.
The Sign-Off Table · thesignofftable.com/academy/sap-alm-204

What would you do?

Maria is halfway through "O2C sell from stock, fleet customer" in the UAT plan when she is called away. The next morning she opens Test Execution and sees the test case with an open run. What should she do?

Key points
  • Testers find their work in Test Execution by filtering on test plan and tester.
  • Runs in the (None) group count toward no plan; start runs from the cycle's plan.
  • Execute starts a run; an unfinished run shows Resume and is continued, not duplicated.
  • Finished runs are read-only; a retest is a new run, and the plan shows the latest run's status.
  • One failed action fails the run at once; a run is Passed only when finished with every action passed.

Check your understanding · not graded

Lesson check

  1. 1. Which two filters matter most for finding your assigned tests?

  2. 2. What should a tester do with an interrupted, unfinished run?

  3. 3. Which run counts toward a test case's status within a plan?

  4. 4. What does one failed action do to the run?

  5. 5. What does a Resume button in place of Execute tell the tester?