📖 What is Keyword-Driven Testing?
Keyword-Driven Testing separates the test design from the execution by using action words (keywords) to represent test steps. Testers can write test cases using domain-specific keywords, which the underlying framework translates into executable code.
"Keyword-driven testing allows non-technical testers (like domain experts) to write automated tests. Expect scenarios where business analysts need to contribute to automation."
📚 Certification: Certified Tester Foundation Level (CTFL-v4.0)
🔑 What are the Key Concepts of Keyword-Driven Testing?
- ▸ Abstracts test implementation details into readable action words (keywords).
- ▸ Enables non-technical team members to author automated test cases.
- ▸ Requires a robust underlying framework to interpret the keywords into executable actions.
🎯 How does Keyword-Driven Testing appear on the CTFL-v4.0 Exam?
A scenario where business analysts want to write automated tests without learning a programming language.
Identifying the framework that uses a table of action words like 'Click', 'EnterText', and 'Verify'.
❓ Frequently Asked Questions
How is keyword-driven testing different from data-driven testing?
Data-driven separates data from scripts, while keyword-driven separates the action definitions (steps) from the underlying code implementation.
Is keyword-driven testing easy to set up?
No, the initial setup and creation of the keyword framework require significant technical expertise, even though writing the tests later is easy.