Test scenarios from activity diagrams and process flows
An activity diagram draws a process as steps, choices and splits. Tracing every route through it gives a list of test scenarios you can count.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: tracing a route on a transit map. A transit map shows stations and lines. To plan a trip you trace routes from A to B. Some routes are direct, some change lines, and some split where two trains run side by side. You can list every way to get from A to B.
Daily List is a to-do list app. Mei, the test lead, hands Tom a drawing of how a reminder is sent. It shows boxes for steps and diamonds for choices. It is an , a picture of the steps, choices and splits in a process.
Tom treats it like a transit map. Each trip from the start to the end is one scenario, which is one test. He lists the trips and checks that each one is covered.
The map has a , a point where the flow takes one of several ways. It also has a , a split into steps that run side by side and a point where they meet again. Tom learns what each means for his tests.
The picture has a limit. A transit map is drawn from the real network. A process drawing is only as good as the person who drew it, and it may miss routes the app really takes.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Listing every route through a process drawing so each one becomes a scenario with an expected end.
- List the routes
- Take each way
- Cap the loops
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Transit map | Activity diagram |
| A station where lines split | Decision node |
| Two trains side by side that meet again | Fork and join |
| Every trip from A to B | Every scenario |
WHERE THIS PICTURE STOPS
- A map comes from the real network. A drawing may miss routes the app takes.
- A trip is one traveller. A scenario has a start state and an expected end.
- A train line is fixed. A loop may repeat without end.
HOOK
List routes, take each way, cap loops.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
Usually, each trip from start to end is one scenario. Count one trip per way out of every diamond, and cap any loop.
| In the trick | What it stands for |
|---|---|
| Trip | Each trip from the start to the end is one scenario, one test |
| Diamond | A decision node where the flow takes one of several ways |
Side-by-side steps after a fork may run in any order, so one trip can hide several orders.
TELL A FRIEND
An is a transit map for a process: each trip from start to end is a .
OFTEN MIXED UP WITH Use case testing. The lesson tests named flows such as the and the alternatives. This lesson finds every route through a branching drawing.
PRACTISE AND KEEP
Sources for this topic — 11 sources
- Market practice
Unified Modeling Language (UML) Activity Diagram Controls (uml-diagrams.org) ↗ — uml-diagrams.org · A decision node has one incoming flow and several guarded outgoing flows, of which one is taken; a fork starts parallel flows and a join waits for all of them (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Merge node (Sparx Systems Enterprise Architect user guide) ↗ — Sparx Systems · A merge node is not used to synchronise concurrent flows but to accept one among several alternate flows (search excerpt quoting the UML specification, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Unified Modeling Language (UML) Activity Slides (University of Pretoria lecture slides) ↗ — University of Pretoria · Lecture slides name action nodes, edges, control nodes and swimlanes, and put guards on decision branches (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Test Cases Generation from UML Activity Diagrams (KAIST) ↗ — Korea Advanced Institute of Science and Technology (KAIST repository) · A paper turns an activity diagram into a directed graph and applies an all-paths criterion; another paper in the same search says loops and concurrency make testing every path impractical (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
ISTQB Advanced Level Test Analyst Syllabus ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter, read in full text: section 3.2.3 (TA-3.2.3, K3): the test analyst builds a scenario model from activity diagrams or use cases and designs test cases to cover the scenarios; section 5.2.2 describes scenario-based reviewing with dry runs
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
- Market practice
Certified Tester Advanced Level Test Analyst (CTAL-TA) Sample Exam Questions, version 4.0 ↗ — US member board of the International Software Testing Qualifications Board · A version 4.0 sample question refers to an activity diagram in a test scenario; the excerpt did not show which technique it tests (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Version 4.0. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter, read in full text: section 3.2 behaviour-based test techniques: CRUD testing (TA-3.2.1, K2), state transition testing (TA-3.2.2, K3) and scenario-based testing (TA-3.2.3, K3); scenario models include activity diagrams and use cases
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
- Market practice
Business Process Model and Notation (BPMN) specification page ↗ — Object Management Group · omg-bpmn: BPMN described as a graphical model understandable by non-technical people and a bridge between business and IT. istqb-ct-act and isqi-istqb-acceptance-testing: CT-AcT chapter 3 objectives are to build a simple BPMN or DMN model (AcT-3.1.1, K3) and to derive acceptance tests for a coverage criterion from such a model (AcT-3.2.1, K3), read in the syllabus text from a mirror copy of the publisher PDF (search excerpts, pages not opened; r7 query: 'CT-AcT overview ... business outcomes' and 'CT-AcT sample exam'). Closes CT
Official public catalogue/PDF retrieved and the cited sections read. BPMN 2.0.2 formal/2013-12-09, December 2013 cover; §§9.3–9.4,10.3,10.5–10.7 and13.4 opened/read6 November 2026. Original educational paraphrase; no source artwork copied. Additional actual §§2.2–2.3,10.2.1/Table 10.1 and10.9 read 7 November 2026. Optional/public executable scope and separate modeling/execution conformance; source permission front matter read, no standard diagram copied.
- Market practice
ISTQB Certified Tester Acceptance Testing (CT-AcT) syllabus ↗ — International Software Testing Qualifications Board (ISTQB) · omg-bpmn: BPMN described as a graphical model understandable by non-technical people and a bridge between business and IT. istqb-ct-act and isqi-istqb-acceptance-testing: CT-AcT chapter 3 objectives are to build a simple BPMN or DMN model (AcT-3.1.1, K3) and to derive acceptance tests for a coverage criterion from such a model (AcT-3.2.1, K3), read in the syllabus text from a mirror copy of the publisher PDF (search excerpts, pages not opened; r7 query: 'CT-AcT overview ... business outcomes' and 'CT-AcT sample exam'). Closes CT
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-AcT v1.0, 21 June 2019), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
Specialist review 6 November 2026: Actual related substantive chapters 1–5 and Appendix text reviewed for Acceptance2019; not an assertion that every source figure was visually reviewed. Professional certification guidance, not binding legislation or a formal ISO standard. Inherited full-text descriptions are not a claim that this audit read every PDF page.
- Market practice
ISTQB Foundation Level - Acceptance Testing (ISQI course page) ↗ — ISQI · omg-bpmn: BPMN described as a graphical model understandable by non-technical people and a bridge between business and IT. istqb-ct-act and isqi-istqb-acceptance-testing: CT-AcT chapter 3 objectives are to build a simple BPMN or DMN model (AcT-3.1.1, K3) and to derive acceptance tests for a coverage criterion from such a model (AcT-3.2.1, K3), read in the syllabus text from a mirror copy of the publisher PDF (search excerpts, pages not opened; r7 query: 'CT-AcT overview ... business outcomes' and 'CT-AcT sample exam'). Closes CT
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
ISTQB CTAL-TA syllabus v 4.0 GA ↗ — International Software Testing Qualifications Board · ISTQB CTAL-TA v4.0 GA, 2 May 2025; publisher PDF opened 6 November 2026. Relevant technique and coverage sections: 3.1–3.3, selection 3.5, model review 5.2. Daily List is a synthetic worked application.
Version 4.0 GA, 2 May 2025; front matter checked. Publisher PDF opened 6 November 2026. Paraphrased for teaching; no licence claim.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.