QuestionQ70

VerifiedImplementing Test Automation

You are working on a government system called “Making Tax Digital,” or MTD for short. The system is being implemented to prevent manual human-input errors and to reduce fraudulent behaviour by companies when they submit their tax and VAT returns.

The key concept is that registered companies will need to use government-recommended third-party software for their accounts and bookkeeping. These third-party applications will have a direct interface to the government’s main system for transactions and submissions.

You have successfully used a test-execution tool on the project so far and have implemented a basic “capture/replay” scripting approach.

Management has been encouraged by the automation so far, but wants the following objectives to be met:

  • Test cases added easily
  • Reduction in the number of scripts and script duplication
  • Reduction in maintenance costs

Which scripting technique would be MOST suitable in this scenario to meet the objectives?

Explanation

Keyword-driven scripting defines reusable keywords for business actions and verification steps. New test cases can be composed from those keywords rather than creating duplicate capture/replay scripts, and changes to a shared action are maintained centrally. ISTQB describes this as the typical approach for consolidating similar test steps into reusable functions, improving maintainability.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!