New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

ISTQB CT-TAE Certified Tester Test Automation Engineer Exam Practice Test

Demo: 24 questions
Total 80 questions

Certified Tester Test Automation Engineer Questions and Answers

Question 1

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 2

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 3

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 4

Your project is transitioning from manual to automated testing. You have decided to implement a pilot project so that lessons learned can inform future time estimates and schedules.

Which two of the following represent the types of test cases that are MOST suited to a test automation pilot project?

a) High added value test cases that require little effort to automate.

b) Test that are run infrequently as these will be simpler to automate

c) Reliability test cases that can show added value soon

d) Technically challenging test cases to provide the best validation of manual test conversion

e) Tests that are least Important to the business as these are safer to trial

Options:

A.

a and b

B.

a and c

C.

b and d

D.

c and e

Question 5

Which of the following statement about the implementation of automated regression testing is FALSE?

Options:

A.

When automating regression tests, the structure of automated tests must always be the same as the corresponding manual tests

B.

When automating regression tests, the corresponding manual tests should have already been executed to verify they operate correctly

C.

When automating regression tests, the initialization steps set the test preconditions should be automated wherever possible

D.

When automating regression tests, consideration should be given to how much time would be saved by automation

Question 6

A regression test suite consist of 500 test cases which are all executed manually. The business case for a pilot project is based on the adoption of test automation using a commercial tool that will reduce the execution time by a factor of 90% for 100% of the tests in the regression test suite. The pilot project lasted one month ( as planned) and you are currently its results. At the end of the pilot project, 40% of the regression tests have been automated and their execution time has been reduce by 60%.

Which of the following statements is TRUE in this scenario?

Options:

A.

The duration of the pilot project was too short –it should last unit the success factors are achieved

B.

The target defined for the business case is too accurate –it should not be measureable

C.

The project selected for the pilot is too critical –if should not be too critical or too trivial

D.

The target defined for the business case seems difficult to hit – it should be realistic

Question 7

You are planning the pilot for an in-house developed Test Automation solution (TAS).

Which two of the following would be important steps to take as part of the planning process?

a) Review your organisation's current projects and identify which one would be most suitable to pilot the TAS.

b) Ensure that the developers will provide the necessary commitment for the TAS deployment activities.

c) Run a series of training workshops for new users of the TAS before they are asked to use it.

d) Develop a project plan for the pilot and reserve the necessary budget and resources for its implementation.

e) Ask the developers to provide any missing functionality during the deployment activities.

Options:

A.

a and b

B.

b and d

C.

c and d

D.

c and e

Question 8

When the SUT provides interfaces that can then be used to perform actions on the SUT, what is this called?

SELECT ONE OPTION

Options:

A.

Controllability

B.

Observability

C.

Portability

D.

Maintainability

Question 9

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 10

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 11

In order to achieve re-use of a TAS, where SHOULD the design for reuse occur?

Options:

A.

At the code level

B.

At the framework level.

C.

At the TAS level

D.

At the TAA level

Question 12

You are a TAE working for a software house which provides quarterly releases of its software to its customers. There are many different versions of the SUT that need to be tested simultaneously by different tests teams.

Your TAS is complex and you need to ensure it remains consistent across the different SUT environments. What is the BEST and MOST efficient way to ensure each of the test teams use the same version of the TAS to test the different versions of the SUT?

Options:

A.

Due to the complexities involved and the high risks associated with these releases, it would be best to revert to manual testing. B. Produce comprehensive documentation of the TAS, installation and usage guidelines and provide training for each team member.

B.

Install the TAS is a central repository and have an automated installation and configuration of the TAS from this repository to each of the SUT environments.

C.

Develop a tool to track historical test results across the different SUT environments and look for trends.

Question 13

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 14

You have implemented a keyword-driven scripting framework, which uses a test execution tool to run the tests. This has been in use for the past year and all of the teams now use this framework as the standard approach for test execution.

The teams all work on different aspects of the SUT and they have all experienced significant benefits in the use of this scripting framework. However, on closer examination, you have discovered that there are numerous instances where the teams have the same functionality to test but are using different keywords.

One of your objectives for improvement is to create consistency among the teams.

What is the BEST way to handle this situation?

Options:

A.

Move to a model-based approach to scripting where the models include the keywords.

B.

Do nothing, each team are working in isolation and they are all experiencing significant benefits in the way they are currently working.

C.

Provide each team with a set of guidelines and naming conventions for keywords.

D.

Create a central library of keywords and associated definitions for each team to use.

Question 15

You have executed an automated test suite for a product that was released into production. Although all the tests passed, there was a major failure in production in an area that was covered well by your automated tests.

You have run the automated tests again and one of the tests is now failing and this is directly related to the production defect that was raised. You decide to run the automated test suite again on the same version of the SUT and the test now passes.

What SHOULD you do now to verify the validity of the automated tests?

Options:

A.

Remove the intermittently failing test from the test suite and investigate the reason why the test sometimes passes and sometimes fails.

B.

Check that the production defect that was reported was an actual defect

C.

Run the automated test suite again and if the test now passes - do nothing

D.

Reference: https://www.researchgate.net/publication/341396240_Intermittently_Failing_Tests_in_the_Embedded_Systems_Domain

Question 16

The Test Automation Manager has asked you to provide a solution for collecting metrics from the TAS that measures code coverage every time the automated regression test pack is run. The metrics must be trend based to ensure that the scope of the regression test pack continues to reflect enhancements made to the SUT - coverage must not drop and should ideally increase. The solution must be as automated as possible to avoid unnecessary manual overheads and errors.

Which of the following approaches would BEST meet these requirements?

Options:

A.

Test automation cannot measure code coverage for the SUT, only the code for the automation tools and scripts. The automated test cases would need to be run manually with a code coverage and reporting tool running in the background.

B.

The automated testware would record overall code coverage for each run and add the figure to a new row in a pre-formatted Excel spreadsheet. You would then present the spreadsheet to stakeholders so they could look for changes in coverage.

C.

The automated testware would record overall code coverage for each run, export the data to a pre-formatted Excel spreadsheet that automatically updates a trend analysis bar chart for you to distribute to stakeholders.

D.

The automated testware would record the pass/fail rate of each regression test case, export the data to a pre-formatted Excel spreadsheet that automatically updates a trend analysis success rate bar chart and emails it to stakeholders.

Question 17

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 18

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 19

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 20

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 21

You have inherited a TAS that is working well it uses keyword-driven scripting and was well architected. The automation architect who built the system has now moved on to another company. The TAS is working across several projects and has a multiple library of keywords, categorised by project. The individual project teams maintain these keyword scripts.

Based only on the given information, what is the MOST significant risk for the TAS?

Options:

A.

The keyword driven scripts may become out of date if not maintained

B.

The level of abstraction, coupled with the departure of the architect may make the system hard to maintain

C.

New projects may not work as well with the TAS as the current projects

D.

Because the keyword scripts are maintained by different teams, there is a likelihood that good coding standards are not followed

Question 22

Your functional regression test automation suite ran successfully for the first two sprints and no failures were encountered during the runs. The automation suite records the status of each test case as either 'pass' or 'fail' and has excellent recovery capability built in.

For the third sprint, the TAS log reported several test cases with a status of 'fail'. You investigated each test case and found that most failures were due to a defect in one of the keyword scripts, rather than in the SUT. For those where the failure was in the SUT, defect reports were raised but several were returned by the developers asking for more information to enable them to reproduce the problem.

Which additional log items SHOULD you add to the TAS that would BEST improve failure analysis and defect reporting for future sprints?

a) Dynamic measurement information about the SUT.

b) A status of TAS error’, in additional to pass' and 'fail', for each test case.

c) Use of a colour coding scheme so that 'pass’ is in red and fail' is in green.

d) A counter to determine how many times each test case has been executed.

e) System configuration information including software/firmware and operating system versions.

f) A copy of the source code for all Keyword scripts executed.

Options:

A.

a and b

B.

d and e

C.

a and c

D.

b and e

Question 23

What is the PRIMARY advantage of using abstraction in the TAA?

Options:

A.

It makes it more flexible for future reuse and improvements

B.

It requires a higher skill level to implement

C.

It ensures that any scripting method will be supported

D.

It improves the performance of the TAS

Question 24

A major component of your organisation's Test Automaton Solution (TAS) is a popular open-source third-party capture-replay tool for automated functional testing.

Which two of the following must the Test Automation Engineer (TAE) ensure happens for this TAS?

a) The third party tool is placed under configuration management control.

b) The annual support and maintenance costs are agreed with the tool's vendor.

c) It is Important to obtain information about updates and new versions of the tool so that the third party tool is kept up to date.

d) Ensure that the TAS test scripts are integrated into the tool's framework.

e) Ensure that no changes are made to the tool, because modifications are not allowed for third party products.

Options:

A.

a and b

B.

c and d

C.

a and c

D.

d and e

Demo: 24 questions
Total 80 questions