Exam CT-TAE All QuestionsBrowse all questions from this exam
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?

    Correct Answer: D

    Keyword-driven scripting is the most suitable technique in this scenario. It allows test cases to be added easily by using predefined keywords that represent actions or objects in the application. This reduces script duplication and lowers maintenance costs, as changes can be made at the keyword level without needing to modify each test case individually. Additionally, keyword-driven scripting abstracts the complexity of the scripts, making them more maintainable and scalable.

Discussion
savageboyOption: D

Test cases should added easily, that is keyword driven

obtest123Option: D

Probably, I would go with D. Keyword-driven scripting as far as initial cost is not under consideration and in Structured scripting test cases are not easy to add

FrancisFerreiraOption: B

B, C, and D would all eventually achieve the desired goals. However, the natural evolution for linear scripts (capture/replay) are structured scripts. Not to mention that the initial effort to create data-driven and keyword driven scripts would be much higher and costly.