Certified Tester Test Automation Engineer Questions and Answers
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.
What represents good practice when automating a manual regression test suite?
Which of the following describes how a test execution report is likely to be used?
What is NOT a factor in considering when you are asked to ensure an effective transition from manual to automated tests?
Which of the following CORRECTLY describes how automation SHOULD be applied to confirmation testing?
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?
Which of the following statements does NOT describe good practice for maintaining the TAS?
You have investigated a new tool which enables the modelling of the SUT and can then generate test cases either manually or automatically. You have convinced your managers that the best way forward is to conduct a pilot project for this tool. You need to select a project to use for the pilot. You have the choice of the following projects:
Project A: A two-year project that is critical to the business and is currently in the requirement phase. This project is for a new e-commerce web site and is mostly being developed “in-house" although the payment system is being developed and delivered by a 3rd party provider.
Project B: A safety critical application for software to drive and park cars.
Project C: An upgrade to an important HR timesheet tracking application that will be available on a desktop and mobile application. This is a 1-month project developed in-house.
Project D The payment system from project A.
Which project would be BEST for the pilot?
Which of the following statement about the implementation of automated regression testing is FALSE?
In order to achieve re-use of a TAS, where SHOULD the design for reuse occur?
New features have been added for the current release of a SUT.
Which action would NOT be appropriate for the TAE to perform when evaluating the impact on the TAS?
Consider the following layers of the gTAA structure:
a. Test generation layer
b. Test definition layer
c. Test execution layer
d. Test execution layer
Consider the following capabilities associated with these layers.
Acquire all the necessary resources before each test and release all after run, in order to avoid interdependences between test
Allow the automated test scripts on an abstract level to interact with components, configurations and interfaces of the SUT.
Design test directives that allow configuring the algorithms used to automatically produce the test cases a given model of the SUT.
Allow the definition and implementation of test cases and data by means of templates and/or guidelines.
Which of the following BEST matches each layer with the appropriate capability?
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.
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?
A) The configuration of the TAS uses automated installation scripts
B) 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
Which of the following attributes should NOT be included in a test execution report associated with a suite of automated tests?
Which of the following BEST describes why it is important to separate test definition from test execution in a TAA?
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?
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
You are the TAE for an Agile project which has six sprints for the current release. Sprint five is underway and the automated regression suite is due to start later today.
You have re-examined the results from the automated regression runs for the past four sprints. You notice that two test cases both reported a pass for sprints 1 and 4 but a fail for sprints 2 and 3. The failures have gone undetected and are therefore unexplained. Both test cases are closely coupled with other tests in the suite.
What course of action SHOULD you take?
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?
Which of the following is NOT an advantage of test automation?
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
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?
Which of the following is considered a disadvantage of test automation?