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

iSQI CTAL-TAE_V2 ISTQB Certified Tester Advanced Level - Test Automation Engineering CTAL-TAE (Syllabus v2.0) Exam Practice Test

Page: 1 / 8
Total 80 questions

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

Question 1

You are employed as a TAE on a project to build a purchasing system. The main requirements for the system are:

1) Allow users to enter details of items that they wish to have purchased and, from these details, create a purchase request.

2) Take each purchase request through a workflow that will allow the requestor’s line manager to approve the request, reject it, or return it for clarification/modification.

3) Forward approved requests to the Purchasing Department.

4) Allow purchasers to find the best available supplier and place the request on that supplier as a purchase order.

Requirement 1 has now been delivered and has been satisfactorily tested manually. In parallel, you have developed a TAS so that functional suitability testing can be automated.

The functional suitability testing of Requirement 1 has now been automated as fully as possible. A change to add audit logging of user activity is planned but has not yet been made. After a small change to the UI code, the last regression run contained a significant number of unexplained test failures. At the point each test stopped, the actual and expected results showed no discrepancies. In each case, the run was able to continue with the next test in the suite. Preliminary investigation showed that the points at which these tests stopped had nothing obvious in common.

Which option below contains the BEST next steps to investigate this?

Options:

A.

Analyze all available log information with the aim of finding an unreported verification discrepancy in the scripts

B.

Analyze all available log information with the aim of finding a defect in the way that the TAS runs tests

C.

Analyze all available log information with the aim of finding a test environment outage

D.

Add user activity logging to the SUT, then repeat the test run so that correlation IDs are available

Question 2

What would be a goal of test automation in a local development environment?

Options:

A.

To verify integration with other systems

B.

To build the software and check correctness of the build

C.

To verify component functionality

D.

To assess performance efficiency

Question 3

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 4

You are evaluating the best approach to implement automated tests at the UI level for a web app. Specifically, your goal is to allow test analysts to write automated tests in tabular format, within files that encapsulate logical test steps related to how a user interacts with the web UI, along with the corresponding test data. These steps must be expressed using natural language words that represent the actions performed by the user on the web UI. These files will then be interpreted and executed by a test execution tool. Which of the following approaches to test automation is BEST suited to achieve your goal?

Options:

A.

Test-driven development

B.

Keyword-driven testing

C.

Data-driven testing

D.

Linear scripting

Question 5

When is automated API testing BEST performed?

Options:

A.

By developers during their component integration testing

B.

By TAEs during their system integration testing

C.

Split across component integration and system integration testing

D.

By developers during their component testing

Question 6

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

You are a TAE responsible for a TAS that is used on several products, all of which have complex UIs. A substantial proportion of the automated tests break on a regular basis, usually for reasons associated with the UI. The investigation and maintenance this requires is significantly reducing the productivity of the teams and the return on investment.

You are looking for ways to improve the test cases in this TAS. Which of the following approaches would be MOST appropriate?

a) Artificial intelligence

b) Test histograms

c) Reliability growth modelling

d) Schema validation

e) Operational profiles

Options:

A.

d and e

B.

a and b

C.

c and d

D.

b and c

Question 8

You are employed as a TAE on a project to build a purchasing system. The main requirements for the system are:

1) Allow users to enter details of items that they wish to have purchased and, from these details, create a purchase request.

2) Take each purchase request through a workflow that will allow the requestor's line manager to approve the request, reject it, or return it for clarification/modification.

3) Forward approved requests to the Purchasing Department.

4) Allow purchasers to find the best available supplier and place the request on that supplier as a purchase order.

Requirement 1 has now been delivered and has been satisfactorily tested manually. In parallel, you have developed a TAS so that functional suitability testing can be automated.

You intended to use the implementation of Requirement 1 as a pilot for the TAS. Which TWO of these objectives are MOST appropriate for this pilot?

a) Generate prototypes for the implementation options of the TAS

b) Demonstrate the suitability of at least one TAS implementation option

c) Expose any risks to further deployment of this TAS

d) Assess the quality of the implementation of Requirement 1

e) Enable a calculation of the likely return on investment for this TAS

Options:

A.

a and d

B.

a and e

C.

c and d

D.

b and c

Question 9

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 10

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 11

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

When a continuous integration/continuous deployment (CI/CD) pipeline is split between build and deployment phases, which statements are TRUE?

a) Component and component integration tests are part of the deployment phase.

b) System and higher-level tests may be part of the build phase.

c) Component and component integration tests are part of the build phase.

d) System and acceptance tests may be executed in a separate pipeline.

e) System integration tests cannot be run in this kind of pipeline.

Options:

A.

a and b

B.

c and d

C.

a and d

D.

b and e

Question 14

You are employed as a TAE on a project to build a purchasing system. The main requirements for the system are:

1) Allow users to enter details of items that they wish to have purchased and, from these details, create a purchase request.

2) Take each purchase request through a workflow that will allow the requestor’s line manager to approve the request, reject it, or return it for clarification/modification.

3) Forward approved requests to the Purchasing Department.

4) Allow purchasers to find the best available supplier and place the request on that supplier as a purchase order.

Requirement 1 has now been delivered and has been satisfactorily tested manually. In parallel, you have developed a TAS so that functional suitability testing can be automated.

You have just conducted a pilot of the TAS on the implementation of Requirement 1 and several things went wrong:

• One test failed because some reference data that it needed was missing. This and several other failures were difficult to diagnose.

• Another test failed unexpectedly because an old version of the script was used.

Which three measures could mitigate these risks during deployment?

a) Full test logging down to and including trace level

b) Identification and correct configuration of all firewalls

c) Automated creation and loading of all data to meet test preconditions

d) Provision of proper device configuration plans

e) Careful packaging with thorough configuration management

Options:

A.

a, c and e

B.

a, b and d

C.

b, d and e

D.

b, c and d

Question 15

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 16

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 17

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

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 19

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 20

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 21

When looking for the cause of an intermittent failure, which action is MOST likely to help?

Options:

A.

Consulting a business analyst

B.

Monitoring system resources

C.

Monitoring execution time

D.

Checking the test data values

Question 22

Which statement correctly describes what a Test Automation Architecture should do?

Options:

A.

Specify the connections between the TAS and the test management and data management tools

B.

Specify the changes that will be needed to test processes and procedures

C.

Specify the changes that will be needed to the SUT to give full testability

D.

Specify the process that will be needed to select test automation tools

Question 23

What is considered to be an ADVANTAGE of test automation?

Options:

A.

It is cheaper and quicker to develop and maintain than manual testing

B.

Automated tests will find more defects than manual testing

C.

Automated tests are more flexible, allowing updates to be easily made when the SUT changes

D.

The ability to automate tests that cannot be run manually

Question 24

Which part of the SUT can be changed to better support test automation?

Options:

A.

Internet provider restrictions

B.

The number of system features

C.

System environment variables

D.

Operating system version

Page: 1 / 8
Total 80 questions