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

iSQI CTAL-TAE Dumps

Page: 1 / 8
Total 80 questions

ISTQB Certified Tester Advanced Level, Test Automation Engineering 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

Question 2

Automated tests run by a TAS on a SUT can be subject to sudden bursts of messages to log during their execution. All log messages that occur during execution must be permanently stored in the corresponding test execution logs by the TAS for later analysis. If logging is not performed correctly, these bursts can reduce the execution speed of these automated tests, causing them to produce unreliable results. Which of the following solutions would you expect to be MOST useful to address this issue for TAS logging?

Options:

A.

Use a Network Time Protocol (NTP) server to ensure that the clocks of the machines running TAS and SUT are synchronized with a common time source

B.

Log all the messages in memory using a circular buffer and periodically flush the buffer to the corresponding log files associated with the specific execution

C.

Avoid logging the messages that occur during the specified bursts to minimize any potential performance overhead in test execution

D.

Log all the messages directly on the corresponding log files associated with the specific execution to ensure the permanent storage of test execution logs

Question 3

A new TAS allows the implementation of automated data-driven test scripts. All the tasks planned for the initial deployment of this TAS, aimed at installing and configuring the TAS components and provisioning the infrastructure, will be performed manually by a dedicated, specialized team. This TAS is expected to be deployed in the future in other similar environments. As a TAE, you see a risk that the correct and reproducible deployment of the TAS cannot be guaranteed. Which of the following options is BEST suited for mitigating this risk?

Options:

A.

Nothing needs to be done, because the team that will manually perform the specified tasks, as they are specialized, will not make mistakes and will therefore be able to ensure a correct and reproducible deployment

B.

Partition the data tables containing test data used by data-driven test scripts into smaller data tables, using an appropriate logical criterion, to make them more manageable

C.

Review data-driven test scripts to better organize test libraries by adding test functions containing identical sequences of actions commonly implemented in a relevant number of scripts

D.

Try to automate most of the tasks related to the installation and configuration of the TAS components and those related to the provisioning of the infrastructure

Question 4

What is NOT a factor in considering when you are asked to ensure an effective transition from manual to automated tests?

Options:

A.

Complexity to automate the manual test cases

B.

Correctness of test data and test cases

C.

The look and feel of the SUT

D.

The controllability of the SUT

Question 5

(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 6

(In User Acceptance Testing (UAT) for a new SUT, in addition to the manual tests performed by the end-users, automated tests are performed that focus on the execution of repetitive and routine test scenarios. In which of the following environments are all these tests typically performed?)

Options:

A.

Build environment

B.

Integration environment

C.

Preproduction environment

D.

Production environment

Question 7

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?

Options:

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?

Question 8

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 9

Consider the following layers of the gTAA structure:

a. Test generation layer

b. Test definition layer

c. Test execution layer

d. Test execution layer

Consider the following capabilities associated with these layers.

Acquire all the necessary resources before each test and release all after run, in order to avoid interdependences between test

Allow the automated test scripts on an abstract level to interact with components, configurations and interfaces of the SUT.

Design test directives that allow configuring the algorithms used to automatically produce the test cases a given model of the SUT.

Allow the definition and implementation of test cases and data by means of templates and/or guidelines.

Which of the following BEST matches each layer with the appropriate capability?

Options:

A.

a-3, b-4, c-1, d-2

B.

a-4, b-3, c-1, d-2

C.

a-4, b-3, c-2, d-1

D.

a-3, b-4, c-2, d-1

Question 10

A project consists of distributed teams working in a 24-hour environment, where activities happen at all hours of the day. This project adopts a CI (Continuous Integration) process when developer check-in code and consists of automated activities that include generating a build and deploying it to a test environment. Automated integration tests are run multiple times a day. The project have asked for a report containing the automation test results for every build, which must be available 24/7 to the project team.

Which of the following would be the BEST way to automatically provides this report?

Options:

A.

Store the execution results of the integration tests for the last build to a database (without overwriting the results from the previous builds), use this database to automatically update a dashboard containing the build history and test results accessible to the project team.

B.

Store the execution result of the integration tests for the last build to a database (overwriting the results from the previous build), automatically create a test execution report for this build send It via e-mail to the project team

C.

Store the execution results of the integration tests for the last build to a database (without overwriting the results from the previous builds). Automatically create a test execution report for this build and send it via e-mail to the project team

D.

Store the code coverage results of the integration tests for the last build to a database (without overwriting the results from the previous builds). And automatically create a chart showing the trend in code coverage and send via email to the project team.

Question 11

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 12

Consider the following example of TAS metrics.

Time to execute automated tests

Speed and efficiency of TAS components

Which of the following statements is TRUE?

Options:

A.

A and B are both internal TAS metrics

B.

A is an internal TAS metric and B is an external TAS metric

C.

A and b are both external TAS metric

D.

A is and external TAS metric and b is an internal TAS metric

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

Consider a TAS that is going to be deployed for the first time. The TAS requires share resources and run it its own test environment. The infrastructure for the TAS has been created along with maintenance procedures. It is very unlikely the TAS will be required to work in other target

Environments. There is a high-risk that when the TAS is deployed in its own test environment, a number of existing application will no longer work because of conflicts with the existing shared resources.

Which of the following activities would you expect to be MOST effective at mitigating the risk associated with the first deployment of the TAS?

Options:

A.

Testing the TAS for application compatibility issues in the target environment

B.

Testing the TAS for its ability to be implemented in other target test environments.

C.

Testing the TAS for regressions due to optimization that fix non-functional issues.

D.

Testing the TAS for ITS ability to run a shared test environment

Question 15

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?

Options:

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

Question 16

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)?

Options:

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

Question 17

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 18

You have been asked to automate a set of functional tests at system Test level via the CLI of the SUT for the first release of a software system. The automated tests will be delivered to the learn in change of maintenance testing, who will use them for part of the regression testing. They have the following requirements.

1. The automated tests must be as fast and cheap to maintain as possible

2. The cost of adding new automated tests must be as low as possible

3. The automated tests must have a high level of independence from the tool itself

Which of the following scripting techniques would be MOST suitable?

Options:

A.

Data-driven scripting

B.

Keyword-driven scripting

C.

Linear scripting

D.

Structure scripting

Question 19

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 20

You are reviewing the testability of your SUT.

Which of the following BEST refers to the characteristic of OBSERVABILITY?

Options:

A.

The ability of the SUT to perform its intended function for a specified period of time

B.

The ability to exercise the SUT by entering inputs, triggering events and invoking methods

C.

The ability of the SUT to prevent unauthorized access to its components or data.

D.

The ability to identify states, outputs, intermediate result and error messages in the SUT

Question 21

Which of the following is the BEST example of how static analysis tools can help improve the test automation code quality in terms of security?

Options:

A.

Static analysis tools do not generate false positives when attempting to detect security vulnerabilities within test automation code

B.

Static analysis tools can help detect the presence of repeated instances of code within test automation code

C.

Static analysis tools can help detect hard-coded credentials that expose sensitive information within test automation code

D.

Static analysis tools can ensure there are no security vulnerabilities within test automation code

Question 22

Which of the following statements about contract testing is TRUE?

Options:

A.

Contract testing, regardless of the approach chosen (provider-driven or consumer-driven) does not need to rely on the creation of stubs/mocks since it is used to implement integration testing, not unit/component testing

B.

Contract testing can be viewed as a specialized form of API testing that can be applied to effectively and efficiently test integration between microservices, but only if they interact with REST APIs

C.

The differences between the two approaches to contract testing stem primarily from which side creates the contract: this creation is done by the provider for the provider-driven approach and by the consumer(s) for the consumer-driven approach

D.

Contract testing can be viewed as a specialized form of API testing that can be applied to effectively and efficiently test integration between systems, but only if they interact synchronously

Question 23

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 24

You are currently conducting a Proof of Concept (PoC) aimed at selecting a tool that will be used for the development of a TAS. This TAS will exclusively be used by one team within your organization to implement automated UI-level test scripts for two web apps. The two tools selected for the PoC use JavaScript/TypeScript to implement the automated test scripts and offer capture and playback capabilities. Three test cases for each of the two web apps were selected to be automated during the PoC. The PoC will compare these two tools in terms of their effectiveness in recognizing and interacting with UI widgets exercised by the test cases, to quickly determine whether test automation is possible and which tool is better. Which of the following TAFs is BEST suited for conducting the PoC?

Options:

A.

A one-layer TAF (test scripts)

B.

A two-layer TAF (test scripts, test libraries)

C.

A three-layer TAF (test scripts, business logic, core libraries)

D.

A layered TAF with more than three layers

Page: 1 / 8
Total 80 questions