Spring Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > iSQI > ISQI certification > CTAL-TAE_V2

CTAL-TAE_V2 ISTQB Certified Tester Advanced Level - Test Automation Engineering CTAL-TAE (Syllabus v2.0) Question and Answers

Question # 4

Which of the following statements about a test progress report produced for an automated test suite is TRUE?

A.

The test progress report should indicate, for each test in the suite, the timestamps related to the test steps

B.

The content of the test progress report should not be affected by the stakeholders to whom the report is intended

C.

The test progress report should indicate the test environment in which the tests were performed

D.

The test progress report should indicate, for each test in the suite, the start and end timestamps of the test

Full Access
Question # 5

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?

A.

Does the test automation tool provide a feature to specify automated tests in a descriptive meta-language that is not directly executable on the web app?

B.

Does the test automation tool offer a feature to restore the web app, recover from the failed test, skip such tests, and resume the next one in the suite?

C.

Does the test automation tool offer a feature to create a mock server that simulates the behavior of a real API by accepting requests and returning responses?

D.

Does the test automation tool support a licensing scheme that allows accessing different feature sets?

Full Access
Question # 6

An automated test script makes a well-formed request to a REST API in the backend of a web app to add a single item for a product (with ID = 710) to the cart and expects a response confirming that the product is successfully added. The status line of the API response is HTTP/1.1 200 OK, while the response body indicates that the product is out of stock. The API response is correct, the test script fails but completes, and the message to log is: The product with ID = 710 is out of stock. Cart not updated. When this occurs, you are already aware that both the failed test and the API are behaving correctly and that the problem is in the test data. The TAS supports the following test logging levels: FATAL, ERROR, WARN, INFO, DEBUG. Which of the following is the MOST appropriate test logging level to use to log the specified message?

A.

FATAL

B.

INFO

C.

DEBUG

D.

WARN

Full Access
Question # 7

An automated test case that should always pass sometimes passes and sometimes fails intermittently (non-deterministic behavior) when executed in the same test environment, even if no code (i.e., SUT code or the test automation code) has been changed. Which of the following statements about the root cause of this non-deterministic behavior is TRUE?

A.

The specified root cause is a race condition that can be identified by also analyzing the log files of the test case, the SUT, and the TAF

B.

Determining the specified root cause may require, in addition to the TAE, the support of others such as developers and system engineers

C.

The specified root cause must be in the instability of the test environment, since no code has been changed

D.

Determining the specified root cause is certainly easier than if the automated test always fails (deterministic behavior)

Full Access
Question # 8

An API's response to a request made to the corresponding endpoint should return some specific data about a payment transaction in JSON format. In particular, your goal is to write the test automation code, keeping it as short as possible, aimed at determining whether that response includes certain properties (transaction_id, amount, status, timestamp) with the data types and formats expected. Assuming that the TAF provides all the necessary support to validate the specified API response, how would you BEST achieve your goal?

A.

Specify the schema for the expected response data (properties, data types, and formats) and validate the actual response data against this schema

B.

Write a single assertion for each property to check whether the data types and formats for that property are as expected in the actual response

C.

Use an artificial intelligence algorithm based on machine learning and image recognition to implement a self-healing capability

D.

Write custom code that parses the actual response data and checks whether the extracted properties, data types, and formats are as expected

Full Access
Question # 9

Which of the following recommendations can help improve the maintainability of test automation code?

A.

Use error codes in test automation code instead of exceptions (if exceptions are supported by the programming language) for error handling

B.

Avoid producing test automation code containing methods with too many levels of nesting, as deeply nested code is more difficult to understand

C.

Avoid adopting design patterns that introduce high levels of abstraction in test automation code, such as the flow model pattern

D.

Avoid using static analyzers on test automation code and other development tools, as they are designed to improve the maintainability of SUT code

Full Access
Question # 10

A SUT (SUT1) is a client-server system based on a thin client. The client is primarily a display and input interface, while the server provides almost all the resources and functionality of the system. Another SUT (SUT2) is a client-server system based on a fat client that relies little on the server and provides most of the resources and functionality of the system. A given TAS is used to implement automated tests on both SUT1 and SUT2. The main objective of the TAS is to cover as many system functionalities as possible through automated tests executed as fast as possible. Which of the following statements about the automation solution is BEST in this scenario?

A.

The TAS should support mainly client-side automation for both SUT1 and SUT2

B.

The TAS should support mainly client-side automation for SUT1 and server-side automation for SUT2

C.

The TAS should support mainly server-side automation for both SUT1 and SUT2

D.

The TAS should support mainly server-side automation for SUT1 and client-side automation for SUT2

Full Access
Question # 11

A TAS is used to run on a test environment a suite of automated regression tests, written at the UI level, on different releases of a web app: all executions complete successfully, always providing correct results (i.e., producing neither false positives nor false negatives). The tests, all independent of each other, consist of executable test scripts based on the flow model pattern which has been implemented in a three-layer TAF (test scripts, business logic, core libraries) by expanding the page object model via the façade pattern. Currently the suite takes too long to run, and the test scripts are considered too long in terms of LOC (Lines of Code). Which of the following recommendations would you provide for improving the TAS (assuming it is possible to perform all of them)?

A.

Modify the TAF so that test scripts are based on the page object model, rather than the flow model pattern

B.

Implement a mechanism to automatically reboot the entire web app in the event of a crash

C.

Split the suite into sub-suites and run each of them concurrently on different test environments

D.

Modify the architecture of the SUT to improve its testability and, if necessary, the TAA accordingly

Full Access
Question # 12

Which of the following practices can be used to specify the active (i.e., actually available) features for each release of the SUT and determine the corresponding automated tests that must be executed for a given release?

A.

Feature-driven development

B.

The use of feature files

C.

Test-driven development

D.

The use of feature toggles

Full Access