Lesson 5 of 5
Test plans
11 min
Listen to this lesson
A test case describes how to test something. A test plan decides when, by whom, and in which cycle it is tested. SAP describes test plans as optional, but on any real program you will want them: they are how you run the same test case in SIT 1, SIT 2, UAT and regression, each time with its own results, defects and tester.
Creating a test plan
- Open the Test Plans app and choose Create.
- Enter a title, a description, the Responsible person, start and end dates, and tags.
- Choose Assign Test Cases and pick test cases by title or from the value help. Only Prepared ones will be released, so finish preparation first.
- Optionally choose Add Sequence. The sequence sets the order in which test cases appear in Test Execution.
- Assign a tester to each test case. Only one tester can be assigned per test case within a plan.
- When the plan is ready, set its status to In Testing and save.
Plan statuses
| Status | What it means | What testers see |
|---|---|---|
| In Preparation | The plan is being built; the only status in which it can be deleted | Nothing; test cases are not yet visible to testers |
| In Testing | The cycle is running; Prepared test cases in the plan are released | Assigned test cases in Test Execution; the plan can no longer be deleted |
| Finished | The cycle is closed; allowed once every test case is executed or the end date has passed | The plan's results remain for reporting; it cannot be deleted |
Test plan statuses.
- In PreparationPlan built: Prepared test cases assigned, sequence and testers set; nothing visible to testers
- In TestingTest cases released to assigned testers in Test Execution; the plan can no longer be deleted
- FinishedCycle closed after the exit decision; results stay frozen as evidence
When a plan is In Testing, it appears as work for each assigned tester, and testers filter Test Execution by test plan and by their own name to find what is theirs. Testers must already be Cloud ALM users with a project role that can execute: Tester, Project Member, Project Lead or Project Administrator. A Project Viewer cannot execute. Check this a week before the cycle, not on the morning it starts.
One test case, many plans
The same test case can sit in several plans, and each plan keeps its own execution context: runs, statuses and defects. That is how Contoso reuses "O2C sell from stock: standard" in SIT cycle 1, SIT cycle 2, UAT and the first regression plan after go-live, while reports still show each cycle separately. SAP suggests the same pattern for rollouts: one plan per plant or company code, so plants 1710 and 1720 get their own results for the same test cases. It is also SAP's answer when two testers must run the same test case at the same time: put it in two plans.
Naming and structure
Plans become the grouping in every progress report, so name them predictably: program, cycle, stream and site, for example "S4 SIT2 O2C Detroit". Keep plans small enough that one person can own them. A plan with 600 test cases and 40 testers is a reporting bucket, not something anyone can manage.
Set realistic time windows. A plan's start and end dates are the promise the test lead makes to the program, and the analytics compare progress against them. Work back from the cycle exit date: allow time for retests of fixed defects, for evidence review by key users, and for the cycle exit meeting. At Contoso, Priya plans SIT cycles of three weeks with the last four days kept free for retests, and she closes each plan as Finished only after the exit decision is recorded, so the plan's results stay frozen as the evidence for that decision.
- Week beforeCycle entry decisionTesters exist with a role that can execute; data loaded; plan set to In Testing
- Days 1 to 11First-pass executionTesters run assigned test cases in sequence; defects raised from failed runs
- Days 12 to 15Retest windowLast four days kept free for retests of fixed defects and evidence review
- Exit meetingExit decision recordedResults, open defects and descopes agreed with the process owners
- After the decisionPlan set to FinishedResults frozen as the evidence behind the decision
What would you do?
Two Contoso key users want to share the UAT test case "Sell from stock, fleet customer" and both be assigned in the same plan. What should Priya do?
- Test plans group Prepared test cases for a cycle, with dates, a Responsible person, sequence and testers.
- Plan statuses are In Preparation, In Testing and Finished; only a plan In Preparation can be deleted.
- Only one tester per test case within a plan; reuse the test case in other plans for other cycles, plants or testers.
- Sequence orders the Test Execution list; it does not enforce dependencies.
- Name plans predictably and record a cycle entry decision against agreed entry criteria before setting In Testing.
Check your understanding · not graded
Lesson check
1. How many testers can be assigned to one test case within a plan?
2. Which plan status releases Prepared test cases to testers?
3. Why can one test case appear in several test plans?
4. What should the test lead confirm before setting a plan In Testing?
5. What does a test plan's sequence do in Cloud ALM?