Test Automation Engineer study guide
Model-Based Testing (MBT)
Model-Based Testing (MBT) is an advanced test generation technique where QA engineers build a mathematical or visual model of the system's desired behavior (e.g., state machines, activity diagrams). Specialized tools then automatically generate test cases, scripts, and expected results from this model.
Practical example
If you model an ATM using a State Transition Diagram, the MBT tool can generate tests for selected paths in the graph (e.g., Insert Card -> Enter PIN -> Withdraw Cash). If the requirements change (e.g., adding a "Fingerprint" state), the engineer only updates the visual model. The tool may regenerate affected tests, which must still be reviewed and executed. Coverage depends on the model, selected coverage criterion and feasible paths.
Exam scenario and common trap
Scenario: A company adopts MBT to entirely replace their Test Automation Engineers. The Trap: "MBT tools write the code for you, eliminating the need for engineers." The Correct Answer: MBT tools can generate test cases, but engineers still need to design and review the model, manage coverage and integrate execution with the SUT. The implementation and need for an adaptation layer depend on the tool and architecture.
Related syllabus sections cover this topic. Reference sections: 3.1.1. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.