Spring Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Changed CTAL-TAE_V2 Exam Questions

Page: 2 / 3
Total 40 questions

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

Question 5

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?

Options:

A.

FATAL

B.

INFO

C.

DEBUG

D.

WARN

Question 6

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?

Options:

A.

Test-Driven Development (TDD)

B.

Capture/playback

C.

Linear scripting

D.

Structured scripting

Question 7

Which of the following information in API documentation is LEAST relevant for implementing automated tests on that API?

Options:

A.

Release notes/change logs on past changes to the API

B.

Details about the parameters accepted by each API endpoint

C.

Authentication mechanisms required to access the API

D.

Details about the format of the API responses

Question 8

Automated tests at the UI level for a web app adopt an asynchronous waiting mechanism that allows them to synchronize test steps with the app, so that they are executed correctly and at the right time, only when the app is ready and has processed the previous step: this is done when there are no timeouts or pending asynchronous requests. In this way, the tests automatically synchronize with the app's web pages. The same initialization tasks to set test preconditions are implemented as test steps for all tests. Regarding the pre-processing (Setup) features defined at the test suite level, the TAS provides both a Suite Setup (which runs exactly once when the suite starts) and a Test Setup (which runs at the start of each test case in the suite). Which of the following recommendations would you provide for improving the TAS (assuming it is possible to perform all of them)?

Options:

A.

Adopt a manual synchronization with the app’s web pages using hard-coded waits instead of the current automatic synchronization

B.

Implement the initialization tasks aimed at setting the preconditions of the tests within the Test Setup feature at the test suite level

C.

Adopt a manual synchronization with the app’s web pages using dynamic waits via polling instead of the current automatic synchronization

D.

Implement the initialization tasks aimed at setting the preconditions of the tests within the Suite Setup feature at the test suite level

Page: 2 / 3
Total 40 questions