Keyword-Driven Testing

Slide 9 of 15

Keyword-Driven Testing

This data-driven approach (since the late 1990's) uses the test case document developed by the tester (a spreadsheet containing table-driven "keywords") and functional decomposition script development (like structured software development) to reduce all test cases to their most fundamental tasks. The following keyword controlled types of scripts are written: user-defined functions, business function scripts, and "subroutine" or "utility" scripts that perform these tasks independently of each other. Some examples of what these scripts do include:
  • Navigation (e.g., "Access Loan Screen from Main Menu")
  • Specific (Business) Function (e.g., "Post a Loan")
  • Data Verification (e.g., "Verify Loan Payment Updates Current Balance")
  • Return navigation (e.g., "Return to main Menu")
(Free interpreted from: Software testing and continuous quality improvement - William E. Lewis, Gunasekaran Veerapillai and other sources)

+ abstract tests
+ robust tests
- ad-hoc coverage
- no coverage measurement
+ automatic execution
+ auto regression testing
See also COVER overview