Test management and defects — SAP Guided Tutorial
Free sample lesson · open to everyone
Planning and executing tests in SAP Cloud ALM: test cases linked to processes and requirements, test plans for cycles like integration and UAT, execution with results and evidence, and defect handling through to retest.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
UAT was declared passed, but production failed on credit-blocked orders — a path never tested. Adding exception-path test cases per process and exit criteria requiring them prevented a repeat in the next rollout.
Explanation
Test cases in Cloud ALM describe the steps and expected results for a scenario and link directly back to the process and requirement they're verifying, which is what lets a coverage report later show whether every approved requirement actually has a test behind it. Writing test cases should include exception paths, not just the happy path -- a credit-blocked order or a missing master data field is exactly the kind of scenario that gets skipped under time pressure and then fails in production.
Test plans group test cases into a cycle -- integration test, UAT, regression -- with defined testers, dates, and crucially, entry and exit criteria agreed before the cycle starts, so "done" has an actual definition rather than being a judgment call made at the end.
During execution, testers record results against each step and attach evidence -- a screenshot, an output file -- because a result without evidence is just an assertion, and assertions don't hold up when a quality gate is questioned later. Blocked tests (missing data, missing access) should be tracked separately from genuine failures, since they mean something different about readiness.
A failed step raises a defect with severity, priority, an owner and a due date, linked to both the failed test and the feature it affects. The defect isn't closed until it's retested and confirmed fixed -- closing on the developer's word alone defeats the purpose of having a test cycle at all -- and defect trends reported to steering, ideally with a root cause category (configuration, data, code, or test itself), show whether the underlying quality is actually improving or just being patched test cycle after test cycle.
Watch out
Common mistakes
Writing test cases that only cover the happy path. Exception scenarios -- a credit-blocked order, missing master data -- are exactly the cases that get skipped under time pressure, and exactly the cases most likely to fail in production because nobody tested them.
Recording test results without attaching evidence. A passed or failed status with nothing behind it is an assertion, not proof, and doesn't hold up if a quality gate decision is challenged later.
Closing defects without retesting them. A developer's claim that something is fixed isn't the same as confirming it -- closing without retest risks shipping an unresolved defect that resurfaces, often worse, after go-live.
Running a test cycle with no agreed exit criteria. Without a defined threshold for what counts as "done," the decision to exit the cycle becomes a judgment call made under schedule pressure rather than an objective check.
Do this
Best practices
Base test cases on actual process flows and requirements, and deliberately include exception paths alongside the happy path -- exception handling is where untested gaps most often hide.
Agree entry and exit criteria for every test cycle before it starts, so there's an objective basis for declaring the cycle complete rather than a judgment call at the deadline.
Track defect trends with a root cause category (configuration, data, code, test) and enforce retest discipline before closure -- this is what turns defect data into something that improves the next cycle, not just a backlog to clear.
In the interview
Interview angle
A typical question: "UAT passed, but production failed almost immediately. How would you prevent that?" A weak answer suggests just running more test cycles.
A strong answer points to the actual gap this usually comes from -- test cases that only covered the happy path and never exercised exception scenarios like credit-blocked orders -- and describes the fix: write test cases directly from process flows including exception paths, require evidence on every recorded result, set exit criteria that explicitly require exception-path coverage before a cycle can close, and enforce retest before any defect is marked closed.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 4 questions attempted
Question 1 of 4
Why link test cases to processes and requirements?
Question 2 of 4
What must happen before a defect is closed?
Question 3 of 4
What do exit criteria for a test cycle define?
Question 4 of 4
Which test gap often causes production issues?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How do you run UAT using SAP Cloud ALM?
2How do you reuse test assets after go-live?
Was this lesson helpful?
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.