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

Free and Premium iSQI CTAL-TAE_V2 Dumps Questions Answers

Page: 1 / 3
Total 40 questions

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

Question 1

Consider a TAS implemented to perform automated testing on native mobile apps at the UI level, where the TAF implements a client-server architecture. The client runs on-premise and allows creation of automated test scripts using TAF libraries to recognize and interact with the app’s UI objects. The server runs in the cloud as part of a PaaS service, receiving commands from the client, translating them into actions for the mobile device, and sending the results to the client. The cloud platform hosts several mobile devices dedicated for use by this TAS. The device on which to run test scripts/test suites is specified at run time. You are currently verifying whether the test automation environment and all other TAS/TAF components work correctly. Which of the following activities would you perform to achieve your goal?

Options:

A.

Manage the infrastructure that hosts the server, including hardware, software updates, and security patches

B.

Check whether the references to the device on which the given test scripts/test suites will be executed are correctly hard-coded within these test scripts/test suites

C.

Check whether the TAF libraries that the test scripts will use to recognize and interact with the app’s UI objects (widgets) function as expected

D.

Check whether all test scripts that will be executed by the TAS as part of a given test suite have expected results

Buy Now
Question 2

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

Options:

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

Question 3

As a TA-E, you have successfully verified that a test automation environment and all other components of the TAS are working as expected. Now your goal is to verify the correct behavior for a given automated test suite that will be run by the TAS. Which of the following should NOT be part of the verifications aimed at achieving your goal?

Options:

A.

Is the connectivity between the TAS and the necessary internal and external systems available and stable?

B.

Does the level of intrusion of automated test tools influence confidence in the suite's test results?

C.

Do all automated tests within the suite always provide the same results across multiple runs?

D.

Are all automated tests within the suite complete in terms of test data, including expected results?

Question 4

You have been tasked with adding the execution of build verification tests to the current CI/CD pipeline used in an Agile project. The goal of these tests is to verify the stability of daily builds and ensure that the most recent changes have not altered core functionality. Currently, the first activity performed as part of this pipeline is the static source code analysis. Which of the following stages in the pipeline would you add the execution of these smoke tests to?

Options:

A.

As a first activity, before performing static source code analysis and before generating the new build

B.

After performing static analysis on the source code and before generating the new build

C.

After deploying the new build to the test environment and before performing more extensive testing

D.

As a final activity, immediately before releasing the new build into production

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

Question 9

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?

Options:

A.

The number and type of automated tests to execute in the test environment where the web app is deployed

B.

The base URL of the test environment where the web app is deployed (i.e., the root address for accessing the web app)

C.

The connection string(s) to connect to the test database(s) within the test environment where the web app is deployed

D.

The URLs of web APIs/web services related to the web app’s backend within the test environment where the app is deployed

Question 10

Consider a TAS aimed at implementing and running automated test scripts at the UI level on web apps. The TAS must support cross-browser compatibility for a variety of supported browsers, by ensuring that the same test script will run on such browsers in the same way without making any changes to it. This is achieved by introducing appropriate abstractions into the TAA for connection and interaction with different browsers. Because of this, the TAS will be able to make direct calls to the supported browsers using each different browser’s native support for automation. Which of the following SOLID principles was adopted?

Options:

A.

Dependency inversion principle

B.

Open-closed principle

C.

Liskov substitution principle

D.

Interface segregation principle

Question 11

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?

Options:

A.

Feature-driven development

B.

The use of feature files

C.

Test-driven development

D.

The use of feature toggles

Question 12

To improve the maintainability of test automation code, it is recommended to adopt design principles and design patterns that allow the code to be structured into:

Options:

A.

Highly coupled and loosely cohesive modules

B.

Highly coupled and highly cohesive modules

C.

Loosely coupled and highly cohesive modules

D.

Loosely coupled and loosely cohesive modules

Page: 1 / 3
Total 40 questions