TOPIC 22/4016 MINNOT STARTED

Keyword-driven testing: building a check from action words

Design a small set of action words, layer them over low-level steps, hand them values, and know what breaks when one changes.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a menu and a kitchen. A diner orders pasta with tomato sauce. The diner does not say boil the water, chop the tomato and heat the pan. The menu names the dish. The kitchen knows the steps.

Daily List is a to-do list app. Tom has written automated checks for it. They are full of tiny button presses. Mei asks him to write them the way a diner orders, in plain action words.

So Tom writes a short menu: log in as Lily, add task Buy milk, task count is 1. Each phrase is a keyword, one named action. The code behind each keyword is the kitchen. It presses the buttons.

A is a menu item in the user's words, such as add task. A is the whole menu with its kitchen. A value such as Buy milk, handed to a keyword, is a keyword argument.

If the oven changes, the menu stays the same. The picture has limits. A restaurant keeps one menu for years. A keyword library needs a person who looks after it.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PLAIN WORDS · 2 in this section
pan
a wide cooking dish used on a stove
keyword
a key word used to search or match

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 Writing as a list of action words in the user's language, with the screen details kept in one low layer.

  1. List what the user does
  2. Name each action
  3. Mark action or check
  4. List the values it needs
  5. Build the low-level steps
From user actions to a working library

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
A menu itemA business keyword
The kitchen stepsLow-level keywords that touch the screen
No onions, pleaseA keyword argument
A new ovenA changed screen, fixed in one place
The whole menu and kitchenThe keyword library

WHERE THIS PICTURE STOPS

  • A restaurant keeps one menu for years. A keyword library keeps changing and needs an owner.
  • A diner cannot change the kitchen. A tester can add a keyword that is badly named.
  • A menu item is cooked once per order. A keyword may be called by hundreds of checks.

HOOK

Order in the user's words. The kitchen presses the buttons.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

Say it in order: user action, verb and noun, action or check, values, then the low layer last. The screen comes last, never first.

What each part of the trick stands for
In the trickWhat it stands for
User actionWhat the user does, in the user's words
Verb and nounThe keyword name, such as add task
Action or checkDoes it do something or compare something
Low layer lastThe screen steps hidden behind the keyword

TELL A FRIEND

Write checks as plain action words, and keep every screen detail in a low layer so one fix repairs many checks.

OFTEN MIXED UP WITH Automation frameworks overview. That lesson says what keyword-driven and data-driven styles are. This one shows how to build a keyword set and keep it healthy.

PRACTISE AND KEEP

Sources for this topic — 9 sources
  1. Market practice

    Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · Learning objective TA-1.3.6: use keyword-driven testing to develop test scripts (K3). The objective line was seen in a search excerpt; the section text was not read (search excerpt, page not opened)

    Version 4.0 GA syllabus (2 May 2025), read in full text. Used for the objective ids and levels, the behaviour-based techniques in section 3.2, keyword-driven testing in 1.3.6, flexibility testing in 4.3 and defect prevention in chapter 5. It does not teach cause-effect graphs. Paraphrased, not quoted. · Checked 2026-10-18

    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.

  2. Market practice

    Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · Keyword design points seen in a search summary of the syllabus: keywords are action or verification keywords, sit in domain and interface layers, and are named with a verb plus a noun, reusable and unique (search excerpt, page not opened)

    Version 4.0 GA syllabus (2 May 2025), read in full text. Used for the objective ids and levels, the behaviour-based techniques in section 3.2, keyword-driven testing in 1.3.6, flexibility testing in 4.3 and defect prevention in chapter 5. It does not teach cause-effect graphs. Paraphrased, not quoted. · Checked 2026-10-18

    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.

  3. Market practice

    ISTQB Certified Tester Advanced Level Agile Technical Tester Syllabus v1.1 (PDF) ↗ — International Software Testing Qualifications Board (ISTQB) · Test Automation chapter: apply data-driven and keyword-driven techniques to build automated test scripts (K3); keywords come from use cases or the business domain; an existing framework or tool that supports keyword-driven testing saves effort; costs are set-up effort, a framework to run the lists and careful keyword management (search excerpt, page not opened)

    Syllabus for CTAL-ATT version 1.1, listed in search results with chapters on requirements engineering, testing in agile, test automation, and deployment and delivery. Only chapter and section names were seen; the certification is entering a sunset phase. · Checked 2026-10-25

    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.

  4. Market practice

    Test styles (Robot Framework Certified Practitioner syllabus) ↗ — Robot Framework Foundation · Keyword-driven style is imperative, behaviour-driven style is declarative, data-driven style can be combined with the other two (search excerpt, page not opened)

    Describes keyword-driven (imperative), behaviour-driven (declarative) and data-driven styles, and that data-driven can be combined with the other two. Documentation for one tool. Practitioner or vendor guidance, not a standard unless stated. · Checked 2026-10-18

    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.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Daily List, its checks and the people are invented. The Python run uses a toy app and a tiny keyword runner written for this lesson. Real tools find buttons on a real page and keep keywords in files.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  6. Market practice

    Keyword-driven testing standard 29119-5:2024, catalogue entry (International Organization for Standardization) ↗ — International Organization for Standardization · Part 5 keyword-driven testing, edition 2, December 2024: an introduction and reference approach, levels of hierarchical keywords, keyword types such as navigation and checking a value, when flat keywords fit, a starter list of generic low-level keywords, and requirements for frameworks and tools (search excerpt, page not opened)

    Cited for the second edition of Part 5 (December 2024) and its summary: a reference approach, hierarchical keyword levels, keyword types, flat keywords, framework and tool requirements and a data exchange format. The paid text was not read. · Checked 2026-10-25

    Found through a web search; the page was not opened (search excerpt, page not opened). The standard text is sold, so put any detail in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Market practice

    Keyword-driven testing standard 29119-5:2024, national listing and abstract (Finnish Standards Association) ↗ — Finnish Standards Association SFS · Abstract: requirements for frameworks that let testers share test cases, test data, keywords or test specifications; requirements for automation, design and management tools; interfaces and a common data exchange format for tools from different vendors (search excerpt, page not opened)

    Cited for the abstract wording on framework requirements, tool requirements and the common data exchange format. The paid text was not read. · Checked 2026-10-25

    Found through a web search; the page was not opened (search excerpt, page not opened). The standard text is sold, so put any detail in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  8. Market practice

    Keyword-driven testing standard 29119-5:2024, contents preview (ANSI webstore) ↗ — American National Standards Institute · Contents preview shows clause 7 keyword-driven testing frameworks, with 7.2 components of a framework and 7.2.2 keyword-driven editor (search excerpt, page not opened)

    Cited only for a fragment of the contents list: a clause on keyword-driven testing frameworks with their components and a keyword-driven editor. The paid text was not read. · Checked 2026-10-25

    Found through a web search; the page was not opened (search excerpt, page not opened). The standard text is sold, so put any detail in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  9. 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), read in full text: TA-1.3.6 (K3) use keyword-driven testing to develop test scripts | section 1.3.6 (TA-1.3.6, K3): keywords are action or verification keywords and sit on at least two abstraction layers, the domain layer and the test interface layer

    Version 4.0 GA syllabus (2 May 2025), read in full text. Used for the objective ids and levels, the behaviour-based techniques in section 3.2, keyword-driven testing in 1.3.6, flexibility testing in 4.3 and defect prevention in chapter 5. It does not teach cause-effect graphs. Paraphrased, not quoted. · Checked 2026-10-18

    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.

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.