Test script
A sequence of instructions for executing a test — manual steps or an automated script run by a tool.
Syllabus chapters: 1, 6
Sources: ISTQB® Certified Tester Foundation Level syllabus 4.0.1 and the official ISTQB® Glossary. Glossary content © International Software Testing Qualifications Board; source: glossary.istqb.org.
Related terms
Test script in a practice question
Question 1
Which of the following is a typical test implementation work product?
- Test procedures and automated test scripts
- The test plan and the risk register
- Test progress reports and control directives
- Documented lessons learned at test completion
Show answer
- Correct answer: Test procedures and automated test scriptsTest procedures and automated test scripts are test implementation work products.
- The test plan and the risk registerThe test plan and risk register are test planning work products, not implementation ones.
- Test progress reports and control directivesTest progress reports and control directives are test monitoring and control work products.
- Documented lessons learned at test completionLessons learned are test completion work products, not test implementation ones.
Testware comprises the output work products of the test activities. Test implementation work products include test procedures, manual and automated test scripts, test suites, test data, the test execution schedule, and test environment items. The test plan and risk register are test planning work products.
Syllabus section 1.4.3
Question 2
Which of the following is a stated benefit of test automation?
- It reduces the time and cost of keeping the test scripts up to date
- It relieves testers of judging critically which results matter
- It prevents simple mistakes because a tool works more consistently
- It gives a better return than manual testing in most project situations
Show answer
- It reduces the time and cost of keeping the test scripts up to dateKeeping test scripts current is named among the efforts whose time and cost are often underestimated.
- It relieves testers of judging critically which results matterRelying on a tool too much, ignoring the need for human critical thinking, is a named risk.
- Correct answer: It prevents simple mistakes because a tool works more consistentlyGreater consistency and repeatability preventing simple human errors is a named benefit.
- It gives a better return than manual testing in most project situationsUsing a test tool when manual testing is more appropriate is a named risk, not a benefit.
The potential benefits of test automation include time saved by reducing repetitive manual work, prevention of simple human errors through greater consistency and repeatability, more objective assessment, easier access to information about testing, reduced test execution times, and more time for testers to design new and deeper tests. Maintaining test scripts, over-reliance on a tool, and using a tool where manual testing is more appropriate are named among the risks instead.
Syllabus section 6.2.1
Original PrepBench practice material, not official exam questions or exam dumps. PrepBench is independent and is not affiliated with or endorsed by ISTQB®.