ISTQB CT-TAE – Certified Tester Test Automation Engineer — Question 6
You are working on a government system called “Making Tax Digital" or MTD for short. This system is being implemented to stop manual human input error and also to reduce fraudulent behaviour from companies when submitting their tax and VAT returns.
The key concept is that registered companies will need to use government recommended 3rd party software for their accounts and book keeping. These 3rd party applications will have a direct interface into the government's main system for transactions and submissions.
You have been using a test execution tool successfully on the project so far. and have implemented a basic “capture/replay” approach to scripting.
The management have been encouraged with the automation so far, but want the following objectives to be met:
• Test cases added easily
• Reduction in the amount of scripts and script duplication
• Reduction in maintenance costs
Which scripting technique would be MOST suitable in this scenario in order to meet the objectives?
Answer options
- A. Linear scripting
- B. Structured scripting
- C. Data-driven scripting
- D. Keyword-driven scripting
Correct answer: D
Explanation
Keyword-driven scripting is the most suitable technique in this scenario as it allows for the creation of reusable keywords that can be combined to form test cases, which facilitates easy additions and reduces duplication. In contrast, linear and structured scripting may lead to increased maintenance costs and script duplication, while data-driven scripting focuses on varying input data rather than addressing the other specified objectives.