Spring Sale Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

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

Page: 1 / 8
Total 80 questions

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

Question 1

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 2

As a TAE you are evaluating a functional test automation tool that will be for several projects within your organization. The projects require that tool to work effectively and efficiently with SUT’s in distributed environments. The test automated tool also needs to interface with other existing test tools (test management tool and defect tracking tool.) The existing test tools subject to planned updates and their interface to the test automated tool may not work property after these updates.

Which of the following are the two LEAST important concerns related to the evaluation of the test automation in this scenario?

Is the test automation tool able to launch processors and execute test cases on multiple machines in different environments?

Does the test automation tool support a licensing scheme that allows accessing different sets?

Does the test automation tool have a large feature set, but only part of the features will be sets?

Do the release notes for the planned updates on existing specify the impacts on their interfaces to other tools?

Does the test automation tool need to install specific libraries that could impact the SUT?

Options:

A.

A and C

B.

A and E

C.

B and E

D.

C and D

Question 3

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

Question 4

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 5

You are working on a TAS for standalone application. The automated tests are developed based on a automation framework that allows interaction with GUI elements using on object orientated API. The GUI elements include menus, buttons, radio buttons, text toolbars and their properties.

Whilst automating a test, you have discovered that the GUI elements of some third party components are not identifiable by the automated tool you are using.

Which of the following is the FIRST step that you take to investigate this issue?

Options:

A.

Verify the testability support with the providers of the third party components

B.

Verify whether the GUI identification depends on the browser.

C.

Adopt an approach that uses the coordinates of the GUI elements instead

D.

Verify whether naming standards for variables and have been defined for the current automation solution

Question 6

In a first possible implementation, the automated test scripts within a suite locate and interact with elements of a web UI indirectly through the browsers using browser-specific drivers and APIs, provided by an automated test tool used as part of the TAS. In an alternative implementation, these test scripts locate and interact with elements of the same web UI directly at the HTML level by accessing the DOM (Document Object Model) and internal JavaScript code. The first possible implementation:

Options:

A.

Has a lower level of intrusion than the alternative implementation, and therefore its test scripts are less likely to produce false positives

B.

Has a higher level of intrusion than the alternative implementation, and therefore its test scripts are less likely to produce false positives

C.

Has a lower level of intrusion than the alternative implementation, and therefore its test scripts are more likely to produce false positives

D.

Has the same level of intrusion as the alternative implementation, and therefore the risk of test scripts producing false positives is the same in both cases

Question 7

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 8

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 9

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 10

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?

Options:

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

Question 11

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 12

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 13

You are using a gTAA to create a TAS for a project. The TAS is aimed specifically at automating a suit of existing manual test cases for standalone desktop applications. All the interfaces between the TAS and SUT will be from the CUI of the application.

Which of the following layers of the gTAA should you focus on for the TAS?

Options:

A.

The test Generation layer

B.

The Test Definition layer

C.

The Test Adaption layer

D.

The Test Execution layer

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

You identified a suitable project to pilot an automation tool and planned and conduced a pilot. The pilot has been successful and tool Is being deployed within your organization, with a plan to increase tool use by the one project at a time. During this rollout some test processes will be changed slightly to gain additional benefits from using the tool.

In the pilot project, a small set of manual tests were automated for the first time. You are currently monitoring the test automation efficiency and this reveals that the automation regime for the tests is not yet mature.

Which of the following statements is TRUE?

Options:

A.

The approach used for deployed this tool is aligned to the standard success factor for deployment

B.

The pilot project should have been critical so that maximum benefits were delivered

C.

The target defined for the project was inappropriate, because the automation regime for the automated tests at the end of the pilot is not yet mature.

D.

The test process should be radically changed to gain additional benefits from using the tool.

Question 16

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

A defect in a SUT has been resolved and validated by an automated defect re-test in the current release of the software. This retest has now been added to the automated regression test suite.

Which statement BEST describes a reason why this defect could re-occur in future releases?

Options:

A.

Automated defect confirmation testing is not effective at confirming that the resolved defect will continue to work in future releases

B.

The configuration management process does not properly control the synchronization between software archives

C.

The automated regression test suite is not run consistently for future releases.

D.

The automated regression test suite has a narrower scope of functionality

Question 18

A release candidate of a SUT, after being fully integrated with all other necessary systems, has successfully passed all required functional tests (90% were automated tests and 10% were manual tests). Now, it is necessary to perform reliability tests aimed at evaluating whether, under certain conditions, that release will be able to guarantee an MTBF (Mean Time Between Failures) in the production environment higher than a certain threshold (expressed in CPU time). Which of the following test environments is BEST suited to perform these reliability tests?

Options:

A.

Local development environment

B.

Build environment

C.

Integration environment

D.

Preproduction environment

Question 19

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 20

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 21

Which of the following success factors for a test automation project is TRUE?

Options:

A.

Automated tests must be designed to capture only the data that is strictly needed for comparing expected and actual results

B.

The test cases to be automated first must always be selected based on the number of times a test will need to be run

C.

The test cases to be automated must have a high dependency on particular data values

D.

Automated tests that fail due to changes in the requirements of the SUT should be promptly fixed rather than disabled from the test suite

Question 22

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

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

Page: 1 / 8
Total 80 questions