iSQI ctal-tae practice test

ISTQB Certified Tester Advanced Level, Test Automation Engineering Exam


Question 1

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?

  • 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
Answer:

D

Discussions

Question 2

Consider A TAS for testing a desktop application via its GUI. All the test cases of the automated test
suite contain the same identical sequences of steps at the beginning (to create the necessary objects
when doing a preliminary configuration of the test environment and at the end (to remove
everything created specifically for the test itself during the preliminary configuration of the test
environment). All automated test cases use the same set of assertion functions from a shared library,
for verifying the values in the GUI fields ( e.g text boxes).
What is the BEST recommendation for improving the TAS?

  • A. Implementing keywords with higher level of granularity
  • B. Improving the architecture of the application in order to improve its testability
  • C. Adopting a set of standard verification methods for use by all automated tests
  • D. Implementing standard setup and teardown functions at test case level
Answer:

A

Discussions

Question 3

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

  • 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
Answer:

B

Discussions

Question 4

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 11th test. 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 11th test?

  • A. Re-run the test automation suite starting from the 12th test
  • 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 1st test.
Answer:

C

Discussions

Question 5

Your goal is to verify completeness, consistency and correct behavior of an automated test suite. The
TAS has been proven to successfully install in the SUT environment. All the preliminary checks to
verify the correct functioning of the automated test environment and test tool configuration,
installation and setup have successfully completed.
Which of the following is NOT a relevant check for achieving your goal in this scenario?

  • A. Checking whether all the test cases contain the expected results
  • B. Checking whether the post condition have been fulfilled for all the test cases
  • C. Checking whether the loading of the TAS is repeatable in the SUT environment
  • D. Checking whether all the test cases produce repeatable outcomes
Answer:

D

Discussions

Question 6

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?

  • 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
Answer:

A

Discussions

Question 7

Consider a SUT that small run on multiple platform during the execution of automated test runs. In
each test run an automated test suite needs to be executed, with the same version of the TAF, against
the same version of the SUT of each platform. Each platform shall have its own dedicated test
environment. Your goal is to implement a process as automated as possible ( i.e with minimal
manual intervention) that allows implementing a consistent setup of the TAS across the multiple test
environments.
Which two of the following aspects are MOST relevant for achieving your goal in this scenario?
The configuration of the TAS uses automated installation scripts
The TAF saves the logs needed to debug errors in XML format
C) Features of the TAF not used by the automated tests have been tested
D) All the automated test cases contain the expected results
E) The TAS components are under configuration management

  • A. A and e
  • B. B and c
  • C. B and d
  • D. A and d
Answer:

A

Discussions

Question 8

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?

  • 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
Answer:

C

Discussions

Question 9

A SUT has an existing automated test suite.
Which of the following statements relating to the introduction of new features in the SUT is TRUE?

  • A. Automated tests are not affected by the introduction of a new feature and running them against the new SUT is a waste of effort
  • B. The introduction of a new feature could require updates or additions to the testware components
  • C. The test automation engineer should work with the business analysts to ensure the new feature is testable
  • D. It is generally more difficult to automate test cases for a new feature as the development has not yet started
Answer:

A

Discussions

Question 10

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

  • 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
Answer:

B

Discussions
To page 2