Test Automation Engineer study guide

Keyword-Driven Testing (KDT)

Keyword-Driven Testing (KDT), also known as Action-Word testing, is a framework technique that abstracts automation code into high-level business keywords (e.g., "Login", "Add_To_Cart"), allowing non-technical domain experts to write automated tests using spreadsheets or specialized tools.

Practical example

In KDT, a spreadsheet acts as the test definition. Column A (Action): Login Column B (Argument 1): admin_user Column C (Argument 2): password123 The Test Automation Engineer writes a parser that reads "Login" and executes the underlying Selenium code. This empowers Business Analysts to write automated test cases without knowing Java or Python.

Exam scenario and common trap

Question: What is the primary disadvantage of KDT compared to Linear Scripting? The Trap: "It is harder for manual testers to use." The Correct Answer: High initial setup cost and complexity. Building the robust keyword parser and maintaining the keyword libraries requires highly skilled Test Automation Engineers before manual testers can write their first script.

Related syllabus sections cover this topic. Reference sections: 3.1.4. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.