ISTQB Certified Tester Foundation Level
Benefits and risks of test automation for ISTQB CTFL
ISTQB's CTFL v4.0 syllabus says a tool does not bring success just by being acquired: every new tool needs effort for introduction, maintenance and training. The benefits it lists include less repetitive manual work, greater consistency, more objective assessment and faster feedback. The risks include unrealistic expectations, underestimated effort, relying on the tool too much and dependency on the vendor.
Which types of test tools does the syllabus list?
Test management tools make the test process more efficient by helping manage the SDLC, requirements, tests, defects and configuration. Static testing tools help with reviews and with static analysis. Test design and test implementation tools help generate test data, test cases and test procedures. Test execution and test coverage tools automate test runs and measure coverage.
Non-functional testing tools make possible the non-functional tests that people could do by hand only with difficulty, or not at all. DevOps tools support the delivery pipeline, workflow tracking, automated builds and CI/CD. Collaboration tools make communication easier. Tools for scalability and deployment standardization include virtual machines and containerization tools.
The list is open-ended. Any tool that assists in testing counts, and the syllabus says a spreadsheet is a test tool when it is used for testing.
What are the benefits of test automation?
Time saved on repetitive manual work, such as executing regression tests, re-entering the same test data, comparing expected with actual results and checking against coding standards. Fewer simple mistakes by people, because the work becomes more consistent and repeatable: tests are derived from requirements the same way each time, test data is produced systematically, and a tool runs the tests in a fixed order and at a fixed frequency.
More objective assessment, such as coverage, and measures that are too complicated for people to work out. Easier access to information about testing for test management and reporting, such as statistics, graphs and aggregated data on progress, failure rates and execution duration.
Shorter test execution times, so defects are found sooner, feedback arrives faster and the product reaches the market faster. Testers also gain time to design tests that are new, deeper and more effective.
What are the risks of test automation?
Expectation and planning risks: unrealistic expectations of the tool's benefits, functionality or ease of use, and inaccurate estimates of what it takes in time, cost and effort to bring the tool in, keep the test scripts maintained and adapt the manual test process already in place.
Usage risks: using a tool where manual testing is more appropriate, and relying on the tool too much, for example by ignoring the need for human critical thinking.
Supplier and fit risks: a vendor that goes out of business, retires the tool, sells it or supports it poorly. Open-source software that is abandoned or whose components need frequent updates. A tool that is incompatible with the development platform. A tool that does not comply with regulatory requirements or safety standards.
Where the exam catches people
- Believing a good tool brings benefits as soon as it is bought: introduction, maintenance and training effort are needed, and the risks need analysis and mitigation.
- Believing the manual test process can stay as it is after automation: changing the existing manual process takes effort, and underestimating it is a listed risk.
- Believing automation should replace as much manual testing as possible: using a tool where manual testing is more appropriate is a listed risk.
- Believing open-source tools avoid supplier risk: an open-source tool may be abandoned or need frequent component updates.
- Believing only dedicated products are test tools: any tool that assists testing counts, including a spreadsheet.