CTAL-TAE_V2 ISTQB Certified Tester Advanced Level - Test Automation Engineering CTAL-TAE (Syllabus v2.0) Questions and Answers
Your TAF writes detailed test logs for every test that it executes. Data storage space in the test environment is limited, so after each run it is necessary to remove unnecessary detail from the log for tests that passed and move the data that must be kept to a different place.
What would be the BEST way to do this?
You have been recruited as a TAE by a large travel agency and are now responsible for a mature TAS that is dedicated to functional testing of the company’s booking system, which covers flights, hotels, and packaged holidays. This application contains a complex UI and a lot of functionality. It is undergoing constant maintenance and enhancement by an Agile team that adds tests to the regression test suite at the end of every iteration.
The TAS supports structured scripting and this has been implemented to a high standard, with a well-managed script library and minimal code duplication. The TAA will not support any more advanced scripting techniques. The test automation that has been achieved so far was well received at first but is now the target of increasing criticism. It is perceived as being old-fashioned, poorly documented and, in particular:
1. The test script maintenance overhead is becoming excessive because the test analysts frequently want data values to be changed.
2. Test analysts are complaining that a new test which is similar to an existing one, except for data values, requires a new high-level script, and that they must ask a technical test analyst to do this for them.
3. The nightly full regression run is taking a long time and there is a risk that, as more tests are added, it will soon take too long to run in the available window.
4. Some tests break frequently because of slow response from the SUT.
5. Some transactions are difficult to verify because they rely on variables that cannot be seen through the UI of the SUT.
6. The UI of the TAF is difficult to learn.
The SUT architect is planning a major new release and they have offered to include features that will enhance its testability. You already have plans to deal with items 1, 2 and 3 on the list, so now you are considering how you might mitigate items 4, 5 and 6.
Which TWO improvements will BEST address items 4, 5 and 6?
a) Add an event mechanism to the SUT which the TAF can subscribe to
b) Adopt a set of standard setup and teardown methods
c) Add an API to the SUT that will make the internal variables observable
d) Update and improve the documentation of the TAA
e) Implement hard-coded waits in scripts that have been affected by slow SUT response
Which of the following statements about the relationship between TAA, TAS and TAF is true?
Which ONE of the four layers of the test automation architecture provides an optional capability?
Which of the following information in API documentation is LEAST relevant for implementing automated tests on that API?
When would you be MOST likely to store a test environment configuration with other testware?
Which of the following layers within the TAA contains technology-specific implementations that enable automated tests to have the execution of their logical actions result in actual interaction with the appropriate interfaces of the SUT?
Which one of the following answers does NOT refer to an example of configuration item(s) that should be specified in development pipelines to identify a test environment (and its specific test data) associated with a web app under test on which to execute automated tests?
Which of the following descriptions of what some test automation tools can be used to do is TRUE?
Which statements about a continuous integration/continuous deployment (CI/CD) pipeline are TRUE?
a) The pipeline can contain configuration tests for the TAF/TAS.
b) The pipeline cannot contain configuration tests for the TAF/TAS.
c) Component and component integration tests should be run separately.
d) The pipeline can contain system integration tests.
e) The pipeline cannot contain system integration tests.
As a TAE, you are evaluating a test automation tool to automate some UI tests for a web app. The automated tests will first locate the required HTML elements on the web page using their corresponding identifiers (locators), then perform actions on those elements, and finally check the presence of any expected text for an HTML element. These tests are independent of each other and are organized into a test suite that must be run every night against the most recent build of the web app. There is a high risk that the web app will crash while running some automated tests. Based only on the given information, which of the following is your MOST important concern related to the evaluation of the test automation tool?
You have been recruited as a TAE by a large travel agency and are now responsible for a mature TAS that is dedicated to functional testing of the company's booking system, which covers flights, hotels, and packaged holidays. This application contains a complex UI and a lot of functionality. It is undergoing constant maintenance and enhancement by an Agile team that adds tests to the regression test suite at the end of every iteration.
The TAS supports structured scripting and this has been implemented to a high standard, with a well-managed script library and minimal code duplication. The TAA will not support any more advanced scripting techniques. The test automation that has been achieved so far was well received at first but is now the target of increasing criticism. It is perceived as being old-fashioned, poorly documented and, in particular:
1. The test script maintenance overhead is becoming excessive because the test analysts frequently want data values to be changed.
2. Test analysts are complaining that a new test which is similar to an existing one, except for data values, requires a new high-level script, and that they must ask a technical test analyst to do this for them.
3. The nightly full regression run is taking a long time and there is a risk that, as more tests are added, it will soon take too long to run in the available window.
4. Some tests break frequently because of a slow response from the SUT.
5. Some transactions are difficult to verify because they rely on variables that cannot be seen through the UI of the SUT.
6. The UI of the TAF is difficult to learn.
Your new manager wants quick improvements to address items 1, 2 and 3. She has accepted that the TAA may need to be enhanced to support the improvements.
Which TWO improvements will BEST fit this scenario?
a) Transition the automation to data-driven testing
b) Transition the automation to keyword-driven testing
c) Adopt a set of standard verification methods
d) Review the test automation scripts for functional duplication
e) Implement hard-coded waits in scripts that have been affected by slow SUT response
You are working as a TAE for a large insurance company that offers a wide range of products, including home, health, and motor insurance. Your next project will be a major change to the existing system for processing policy claims. The project’s objective is to provide more flexibility in the process for claim authorization, according to the type of policy and nature of the claim, so that simple claims can be processed faster. It will follow a hybrid methodology with development and testing completed in 3-week iterations.
The most important functional and non-functional tests for the existing system have been automated. The older tests feature structured scripting, but the more recent ones have benefited from data-driven testing.
Which automation approach for the system-level tests would be MOST suitable for this project?
Which of the following should be done when checking the composition of the test suite?
Consider choosing an approach for the automated implementation of manual regression test suites written at the UI level for some already developed web apps. The TAS is based on a programming language that allows the creation of test libraries and provides a capture/playback feature that allows recognition and interaction with all widgets in the web UIs being tested. The automated tests will be implemented by team members with strong programming skills. The chosen approach should aim to reduce both the effort required to maintain automated tests and the effort required to add new automated tests. Which of the following approaches would you choose?
Which option correctly pairs test automation design principles and patterns with their characteristics?
1. Hides implementation details to expose only what the testers need to create in their test cases.
2. Creates a class file so that updates to locators need to be made in only one place.
3. Includes the idea that components should be freely substitutable with no adverse impact.
4. Introduces an additional facade which stores user actions that interact with page objects.