Ticking Clock Black Friday Special: 75% Off! Apply coupon code below to save on all exam bundles! - Ends in 0d 00h 00m 00s - Coupon code: estly75

The last few runs for a suite of automated keyword-driven tests on a SUT were never completed. The test where the run was aborted was not the same between runs. Currently, it is not possible to identify the root cause of these aborts, but only determine that test execution aborted when exceptions (e.g., NullPointerException, OutOfMemoryError) occurred on the SUT by analyzing its log files. Test execution log files are currently generated, in HTML format, by the TAS as follows: all expected logging data is logged for each keyword in intermediate log files. This data is then inserted into the final log file only for keywords that fail, while only a configurable subset of that data is logged for keywords that execute successfully. Which of the following actions (assuming it is possible to perform all of them) would you take FIRST to help find the root cause of the aborts?

A.

Log the stack trace and amount of memory available to the SUT at the start and end of each test in the suite, in the SUT log files

B.

Split the generated log file into smaller parts, load them into external files that are loaded into the browser in transparent mode when needed

C.

Log all expected logging data in the final test execution log file, not only for keywords that fail, but also for keywords that execute successfully

D.

Use appropriate colors to effectively visually highlight different types of information in the test execution log files

Your TAF writes detailed test logs for every test that it executes. Data storage space in the test environment is limited, so after each run it is necessary to remove unnecessary detail from the log for tests that passed and move the data that must be kept to a different place.

What would be the BEST way to do this?

A.

Replace the logs with videos of UI activity that your test automation tool can take

B.

Do it manually, so that selection of the data to be kept is under human control

C.

Do it automatically with a script that can be run by your test automation tool

D.

Replace your current tool with another tool whose logs will need less storage space

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?

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

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

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

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?

A.

Test generation layer

B.

Test definition layer

C.

Test execution layer

D.

Test adaptation layer

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

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

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?

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

A suite of automated test cases was run multiple times on the same release of the SUT in the same test environment. Consider analyzing a test histogram that shows the distribution of test results (pass, fail, etc.) for each test case across these runs. Which of the following potential issues is MOST likely to be identified as a result of such an analysis?

A.

Outliers in test execution times

B.

Security vulnerabilities in automated test cases

C.

Unstable automated test cases

D.

Maintainability issues in automated test cases

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

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?

A.

Test-Driven Development (TDD)

B.

Capture/playback

C.

Linear scripting

D.

Structured scripting