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

iSQI CTAL-TAE ISTQB Certified Tester Advanced Level, Test Automation Engineering Exam Practice Test

Demo: 24 questions
Total 80 questions

ISTQB Certified Tester Advanced Level, Test Automation Engineering Questions and Answers

Question 1

A CI/CD pipeline consists of two phases: build and deployment. The build phase, among other activities, runs automated test cases at the following test levels: Component Testing (CT) and Component Integration Testing (CIT). If the build phase is successful, the deployment phase is started. The deployment phase first provisions the test environment infrastructure needed to deploy the SUT, then deploys the SUT to this environment, and finally triggers another separate pipeline that runs automated test cases at the following test levels: System Testing (ST) and Acceptance Testing (AT). Which of the following statements is TRUE?

Options:

A.

Both automated test cases for CT-CIT and ST-AT can act as quality gates

B.

Automated test cases for CT-CIT can act as quality gates, while automated test cases for ST-AT cannot act as quality gates

C.

Automated test cases for CT-CIT cannot act as quality gates, while automated test cases for ST-AT can act as quality gates

D.

Neither automated test cases for CT-CIT nor automated test cases for ST-AT can act as quality gates

Question 2

Which of the following descriptions of what some test automation tools can be used to do is TRUE?

Options:

A.

Autonomously design intuitive UIs and evaluate them, as well as evaluate the overall UX (User Experience) of an application

B.

Analyze test results, code changes, and metrics to predict potential defects and areas of high risk within an application

C.

Autonomously perform exploratory testing sessions based on test charters to find defects within an application

D.

Make video recordings of UI testing sessions to share with stakeholders to show the functionality and appearance of an application

Question 3

Designing the System Under Test (SUT) for testability is important for a good test automation approach and can also benefit manual test execution.

Which of the following is NOT a consideration when designing for testability?

Options:

A.

Observability: The SUT needs to provide interface that give insight into the system.

B.

Re-useability: The code written for the SUT must be re-useable for other similar system.

C.

Clearly defined architecture: The SUT Architecture needs to provide clear and understandable interfaces giving control and visibility on all test levels.

D.

Control: the SUT needs to provide interfaces that can be used to perform actions on SUT.

Question 4

Consider a TAS that exclusively uses the APIs of a SUT. To make this work, significant changes have been required to the SUT by adding a set of dedicated test interfaces to the APIs. All the automated tests will use these test interfaces when interacting with the SUT. Assume that you are currently verifying the correctness of the automated test environment and test tool setup.

Which of the following would you expect to be the MOST specific risk associated with this scenario?

Options:

A.

The connectivity from the TAS to the dedicated test interfaces will not work

B.

The process of configuring the TAS will be error-phone due to manual intervention

C.

The automated test cases will not contain the expected result

D.

False alarms, that are unlikely to occur in the real world, will be observed during testing

Question 5

Consider a SUT that small run on multiple platform during the execution of automated test runs. In each test run an automated test suite needs to be executed, with the same version of the TAF, against the same version of the SUT of each platform. Each platform shall have its own dedicated test environment. Your goal is to implement a process as automated as possible ( i.e with minimal manual intervention) that allows implementing a consistent setup of the TAS across the multiple test environments.

Which two of the following aspects are MOST relevant for achieving your goal in this scenario?

The configuration of the TAS uses automated installation scripts

The TAF saves the logs needed to debug errors in XML format

C) Features of the TAF not used by the automated tests have been tested

D) All the automated test cases contain the expected results

E) The TAS components are under configuration management

Options:

A.

A and e

B.

B and c

C.

B and d

D.

A and d

Question 6

A TAS that performs automated testing in a single test environment was successfully manually installed and configured from a central repository, with all its components in the correct versions. It was also verified that all TAS components in this environment are capable of providing reliable and repeatable performance. The TAS will be used to run several suites of automated regression test scripts on various SUTs in the test environment. Your current goal is to complete all preliminary verifications to ensure that the TAS works correctly. Which of the following activities would you perform FIRST?

Options:

A.

Create scripts to automatically install and configure the TAS in the test environment from the central repository

B.

Check whether the TAS connectivity to all required internal systems, external systems, and interfaces is available

C.

Run a given suite multiple times using TAS to determine whether all regression test scripts always provide the same result

D.

Check whether all regression test scripts in a given suite have expected results

Question 7

Which of the following attributes should NOT be included in a test execution report associated with a suite of automated tests?

Options:

A.

Summary of the test execution results

B.

System/Application under test and its version

C.

Defect clusters identified during test execution

D.

Environment in which the tests have been executed

Question 8

Which of the following is NOT a technical design consideration for a TAA?

Options:

A.

The number of users for the SUT

B.

Availability of interfaces for the SUT to be testable

C.

Standards and Legal requirements, e.g data privacy

D.

Data used by the SUT, e.g configuration, users

Question 9

Which of the following is NOT an advantage of test automation?

Options:

A.

The ability to perform tests which would be difficult or impossible to execute manually

B.

The ability to run more tests in less time and therefore to make it possible to run them more often

C.

The ability to find more defects with the same tests, compared to executing the same test manually

D.

The ability to enable a better use of skilled testers by freeing them from repetitive and boring tasks

Question 10

A SUT has an existing automated test suite.

Which of the following statements relating to the introduction of new features in the SUT is TRUE?

Options:

A.

Automated tests are not affected by the introduction of a new feature and running them against the new SUT is a waste of effort

B.

The introduction of a new feature could require updates or additions to the testware components

C.

The test automation engineer should work with the business analysts to ensure the new feature is testable

D.

It is generally more difficult to automate test cases for a new feature as the development has not yet started

Question 11

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 12

(Which of the following statements refers to a typical advantage of test automation?)

Options:

A.

Automated tests can determine whether actual results match expected results, even for non-machine-interpretable results

B.

On average, automated tests written at the API level are likely to run faster than automated tests written at the UI level

C.

Artificial intelligence can be used to help identify redundant tests within large, long-running automated regression test suites

D.

Automated tests can allow defects to be detected earlier than manual tests because their execution times can be shorter

Question 13

Which of the following BEST describes why it is important to separate test definition from test execution in a TAA?

Options:

A.

It allows developing steps of the test process without being closely tied to the SUT interface.

B.

It allow choosing different paradigms (e.g event-driven) for the interaction TAS and SUT

C.

It allows specify test cases without being closely tied to the tool to run them against the SUT

D.

It allows testers to find more defects on the SUT

Question 14

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?

Options:

A.

Test generation layer

B.

Test definition layer

C.

Test execution layer

D.

Test adaptation layer

Question 15

The GUI of a Customer Relationship Management (CRM) application has been delivered through internet Explorer with proprietary Active X and Java controls. This implementation enables rich client capabilities, but specific commercial automation tools are necessary to automate test cases at GUI of functional test cases. This is to demonstrate whether a small set of the commercial are able to properly recognize actions taken by a tester when interacting with GUI of the CRM application.

Which of the following scripting techniques would be MOST suitable in this scenario?

Options:

A.

Data-driven scripting

B.

Keyword-driven scripting

C.

Linear scripting

D.

Structure scripting

Question 16

You are currently designing the TAA of a TAS. You have been asked to adopt an approach for automatically generating and executing test cases from a model that defines the SUT. The SUT is a state-based and event-driven that is described by a finite-state machine and exposes its functionality via an API. The behavior of the SUT depends on hardware and communication links that can be unreliable.

Which of the following aspects is MOST important when designing the TAA in this scenario?

Options:

A.

Looking for tools that allows direct denoting of exceptions and actions depending on the SUT events.

B.

Adopting a test definition strategy based on classification tree coverage for the test definition layer.

C.

Looking for tools that allow performing setup and teardown of the test suites and the SUT.

D.

Adopting a test definition strategy based on use case/exception case coverage for the definition layer.

Question 17

Consider a TAS that uses a keyword-driven framework. The SUT is a web application and there is a large set of keywords available for writing the automated tests that relate to highly specific user actions linked directly to the GUI of the SUT. The automated test written with the keywords are statically analyzed by a custom tool which highlight’s repeated instances of identical sequence of keywords. The waiting mechanism implemented by the TAS for a webpage load is based on a synchronous sampling within a given timeout. The TAS allows checking a webpage load every seconds until a timeout value

Options:

A.

Changing the scripting approach to data-driven scripting

B.

Implementing keywords with a higher level of granularity

C.

Changing the wait mechanism to explicit hard-coded waits

D.

Establishing an error recovery process for TAS and SUT

Question 18

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

Question 19

You are executing the first test run of a test automation suite of 200 tests. All the relevant information related to the state of the SUT and to the automated test execution is stored in a small database. During the Automated test run you observe that the first 10 test pass, while an abnormal termination occurs when executing the 11thtest. This test does not complete its execution and the overall execution of the suite is aborted. An immediate analysis of the abnormal termination is expected to be time consuming and you have been asked to produce a detailed report of the execution results for the first test run, as soon as possible.

What is the MOST important FIRST step to be taken immediately after the abnormal occurred when executing the 11thtest?

Options:

A.

Re-run the test automation suite starting from the 12thtest

B.

Return the database to a consistent state that allows subsequent test to run

C.

Take a backup of the database in its current state. So It can be analyzed later

D.

Re-run the test automation suite starting from the 1sttest.

Question 20

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 21

Your goal is to verify completeness, consistency and correct behavior of an automated test suite. The TAS has been proven to successfully install in the SUT environment. All the preliminary checks to verify the correct functioning of the automated test environment and test tool configuration, installation and setup have successfully completed.

Which of the following is NOT a relevant check for achieving your goal in this scenario?

Options:

A.

Checking whether all the test cases contain the expected results

B.

Checking whether the post condition have been fulfilled for all the test cases

C.

Checking whether the loading of the TAS is repeatable in the SUT environment

D.

Checking whether all the test cases produce repeatable outcomes

Question 22

Assume that you are the TAE responsible for the correct functioning of a TAS, deployed in a test environment that consists of a few machines running the same version of the operating system. The TAS has been working and stable since its deployment, it has been used to run an automated test suite consisting of many similar automated test. The infrastructure team is planning to update the operating system on these machines by installing a new the service pack for security reasons. Since the vendor of the operating system assurance full backward compatibility, the infrastructure team assurance that there will be no impacts on the functioning of the TAS.

What is the BEST approach to confirm the correct functioning of the TAS in this scenario?

Options:

A.

Verify the behavior of the automated tests by running a small tests, then gradually run the remaining tests to confirm the correct functioning of the whole automated test suite.

B.

Make sure that the infrastructure team has completed installing the service pack on the machines where SUT is running, then run the whole automated test suite to verify its behavior

C.

Verify the behavior of the whole automated test suite by running all the automated tests

D.

Do not run any tests because you can immediately confirm the correct functioning of the automated test suite

Question 23

Consider a TAS associated to dynamically changing software frequent releases. Your goal is to determine the amount of effort required to maintain the automated tests of the regression test suite for each new release of the SUT.

What is the MOST important metric to collect to achieve your goal?

Options:

A.

The code coverage achieved with the automated tests, for each new release of the SUT

B.

The number of automated tests which fail because of a single software defect, for each new release of the SUT

C.

The time it takes to execute all the automated tests, for each new release of the SUT.

D.

The number of automated tests requiring maintenance, for each new release of the SUT.

Question 24

(Which of the following statements about how test automation is applied across different software development lifecycle models is TRUE?)

Options:

A.

In Agile software development, automated regression test suites sometimes grow so large that they can become difficult to maintain, and thus, it becomes crucial to invest in test automation at multiple test levels

B.

In a Waterfall model, automated tests are usually executed only during the last phase of the development lifecycle, but their implementation occurs in the early stages

C.

In Agile software development, regardless of context (e.g., type of application to be developed, tools available), test automation must be based on the test automation distribution known as the test pyramid model

D.

Unlike Agile software development, where automated unit tests are written by developers, often in a test-first fashion, in a V-model, automated unit tests are written by testers as part of unit testing

Demo: 24 questions
Total 80 questions