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.
To improve the maintainability of test automation code, it is recommended to adopt design principles and design patterns that allow the code to be structured into:
A release candidate of a SUT, after being fully integrated with all other necessary systems, has successfully passed all required functional tests (90% were automated tests and 10% were manual tests). Now, it is necessary to perform reliability tests aimed at evaluating whether, under certain conditions, that release will be able to guarantee an MTBF (Mean Time Between Failures) in the production environment higher than a certain threshold (expressed in CPU time). Which of the following test environments is BEST suited to perform these reliability tests?
In a first possible implementation, the automated test scripts within a suite locate and interact with elements of a web UI indirectly through the browsers using browser-specific drivers and APIs, provided by an automated test tool used as part of the TAS. In an alternative implementation, these test scripts locate and interact with elements of the same web UI directly at the HTML level by accessing the DOM (Document Object Model) and internal JavaScript code. The first possible implementation:
Which ONE of the four layers of the test automation architecture provides an optional capability?
Which items should be included in a report that is produced after execution of a test suite?
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?
(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?)
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)?
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?
Consider choosing an approach for the automated implementation of manual regression test suites written at the UI level for some already developed web apps. The TAS is based on a programming language that allows the creation of test libraries and provides a capture/playback feature that allows recognition and interaction with all widgets in the web UIs being tested. The automated tests will be implemented by team members with strong programming skills. The chosen approach should aim to reduce both the effort required to maintain automated tests and the effort required to add new automated tests. Which of the following approaches would you choose?
You work as a TAE for a software vendor that produces bespoke software. Your current project is developing a process control system where data from sensors on the factory floor and human input through a web-based front end undergoes processing on backend platforms. This results in control instructions that are sent to the production line via a message broker.
Your test environment contains all of these components, including the sensors which run in a test harness. These sensors are third-party components that are still under development, so they are often upgraded. The message broker is also a new third-party component which is still receiving regular patches. This requires frequent re-installation of the TAS, which takes significant manual effort, and there have been several occasions where it was not built correctly due to missing components and had to be rebuilt.
Which action is MOST likely to solve this issue with the TAS?
An automated test case that should always pass sometimes passes and sometimes fails intermittently (non-deterministic behavior) when executed in the same test environment, even if no code (i.e., SUT code or the test automation code) has been changed. Which of the following statements about the root cause of this non-deterministic behavior is TRUE?
You are working as a TAE for a small start-up insurance broker and your next project will be a new system for generating motor insurance quotes. The project will follow an Agile methodology. The stakeholders are keen to get it into production, but are realistic about the need to allow enough time for thorough testing and support automation of tests where appropriate.
Which approach for automating the tests would be MOST suitable for this project?
You are working for a clothing retailer that has big stores in many cities. Your TAS, for the first time, has just been used for reliability and stress testing of the overnight batch processing that collects sales transactions from the stores and adds them to a data warehouse; functional suitability tests have been reused for these runs.
All tests have finished normally but their results have not been satisfactory, and it has been difficult to understand the nature of the defect or defects that have been causing the failures.
What data, if added to the test logs, would MOST likely help with debugging in this situation?
a) Dynamic data about the status of the test platforms
b) Screenshots taken during test execution
c) Crash dumps and stack traces
d) Values of randomly generated test input data
e) Counts of the quantity of test cases executed during each run
Which of the following information in API documentation is LEAST relevant for implementing automated tests on that API?
What outcome can happen as a result of a high level of test tool intrusion?
Which option correctly pairs test automation design principles and patterns with their characteristics?
1. Hides implementation details to expose only what the testers need to create in their test cases.
2. Creates a class file so that updates to locators need to be made in only one place.
3. Includes the idea that components should be freely substitutable with no adverse impact.
4. Introduces an additional facade which stores user actions that interact with page objects.
When would you be MOST likely to store a test environment configuration with other testware?
(Which of the following aspects of “design for testability†is MOST directly associated with the need to define precisely which interfaces are available in the SUT for test automation at different test levels?)