As the TAE, you are working with the organisation's Test Manager to decide which external metrics and which internal metrics should be gathered for the new TAS.
Which of the following represents the BEST internal metric that would help measure the quality of the TAS and the number of problems associated with the TAS?
You have been asked to develop test automation for a legacy system that is going to go through a series of infrastructure migrations. The scripts will be used to verify basic functionality during these infrastructure changes Your Test Analysts have some programming skills and need
a solution that is simple and fast.
Maintainability of the scripts is not a consideration because no changes to the software are anticipated.
Which of the following is the BEST scripting approach in this situation?
Your company is new to test automation and as TAE. you have designed a TAS which successfully supports the SUT for the current project.
There are other systems currently in operation which have been tested manually and more systems are planned over the coming years. Based on this success, your company requires test automation be rolled out to other current and future SUTs with consistency being a key objective.
Which of the following is the BEST way to achieve that?
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?
A web application was released into production one year ago, it has regular release which follow a V-model lifecycle and testing is well-established and fully integration into the development lifecycle. You have been asked to implement a TAS for the regression test suite. The regression tests have been developed via the GUI and are expected to be run at least four times a month, for each planned release, for the whole operation solution life of the system (six years). Each screen of the GUI uses several third-party controls which are not compatible with the existing automation solutions. The environment for the automation will be stable, fully controllable and separated from other environments (development, staging, production).
What could be the MOST problematic for this TAS?
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?
You have been asked to implement test automation for a project that is not meeting its deadlines. After further analysis you discover that the manual testers are not able to keep up with the new feature testing because the regression testing is taking 75% of their time. As a result, the new features are being released with many defects and customers are complaining about the quality.
Given this information, what metric SHOULD you be tracking to show the value of test automation for this project?
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
Which of the following BEST describes why it is important to separate test definition from test execution in a TAA?
Your TAS has been running successfully on a Windows/GUI based SUT for some years. The SUT has undergone minimal change over the years to maintain business as usual, deploying six-monthly releases for minor enhancements and bug fixes using a waterfall lifecycle.
The TAS has not changed at all during this period. The current project for the SUT will be using the Scrum methodology to deliver a more modern, competitive, user interface. It is in the release planning stage with an agreed release backlog and set of sprints outlined.
The move from lengthy waterfall releases to shorter sprints has led you to conduct a review of the current TAS to make sure it is robust and fully optimised for the timescale challenges of the new project.
What two steps would be BEST to undertake during the review?
a) Ensure that new automation code is using the same naming conventions as existing code.
b) Perform a full regression run in Sprint 1 to identify what improvements could be made to the TAS for future sprints.
c) Ensure that the TAS is using the latest libraries for the operating system.
d) Review the functions that act upon the controls for the GUI for possible consolidation.
e) Involve the test team to see what ease-of-use improvements they would like to see made to the TAS.
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?
Which of the following describes how a test execution report is likely to be used?
You are reviewing the testability of your SUT.
Which of the following BEST refers to the characteristic of OBSERVABILITY?
When the SUT provides insight into the behaviour of the system, providing the users the with the status of the various actions performed so that they can check that expected behaviour equals actual behaviour, what is this called?
You are working on a web-based application called Book Vault that allows people to upload books and order books. This application must be available on all major browsers.
You have been testing the application manually and management have asked you to consider automating some of the tests.
You have investigated a number of commercial and free tools which can automate tests at a web browser level and one tool in particular meets your requirements and you have implemented a trial version.
You have basic programming skills and the main goal is to automate a few functional tests to see if the tool is compatible with the application and can recognise the objects and controls.
Which scripting technique would be MOST suitable in this scenario in order to meet the objectives?
You are working as a TAE for a company who are re-designing their website. The new website provides information for customers and there are two minor features being developed:
1) Request a newsletter
2) Ability to contact the organisation with a question or comment
The website must be “mobile friendly" and available on all major web browsers.
You have been tasked to provide an automated solution for web browsers only and to concentrate on the two minor features.
What would be a KEY challenge with automation in this context?
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 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?
You have been asked to automate a set of functional tests at system Test level via the CLI of the SUT for the first release of a software system. The automated tests will be delivered to the learn in change of maintenance testing, who will use them for part of the regression testing. They have the following requirements.
1. The automated tests must be as fast and cheap to maintain as possible
2. The cost of adding new automated tests must be as low as possible
3. The automated tests must have a high level of independence from the tool itself
Which of the following scripting techniques would be MOST suitable?