You are testing a mission-critical system and want to use exploratory testing for part of the testing. According to the syllabus, what is the correlation between this type of testing and the risk level of the item being tested?
You are testing a large e-commerce system for household goods that is being implemented using Agile methodologies. You are currently working on deriving tests for stories that are implementing the following epic:
As a customer, I want to use the e-commerce system, so that I can have my purchased goods delivered to my house.
The story you are currently working on is:
As a customer, I want to be told when my items will be delivered, so I can plan to be home.
You have been given the following charter that was proposed by another tester for testing this story:
Login as a customer, buy enough of each item to qualify for free shipping for each item, checkout, and verify that no shipping fee has been added.
What is the main flaw in this charter?
You are working for an organization that has implemented CI and is struggling to get the automated tests to run on each build because of time limitation. On average, there are three ad hoc builds per day, one scheduled build overnight, one scheduled build on Friday nights, and one build that is conducted on the Thursday night before the end of the sprint on the second Friday. There are four sets of tests: high priority, medium priority, low priority, and non-functional. The non-functional tests must be run in the integrated stage environment, whereas the other tests can be run in any of the test environments.
In addition to just the execution time of the tests, it has also been noted that reviewing the results of the tests takes about two hours per set of tests.
Given this information, which of the following is the most efficient and effective approach to test automation execution?
What is the characteristic of a unit test that makes it “atomic”?
What are the characteristics of a unit test that are defined with the acronym FIRST?
BDD and ATDD are most commonly used with which test approach?
In a regression-averse test approach, what should be the focus of test automation?
You are developing a test automation suite for an agile project and want to include as much coverage as possible. Unfortunately, one of the critical web services (e-commerce checkout) is not scheduled for completion until the later iterations. Which of the following would be a good option to allow you to progress with your end-to-end test automation without creating too much extra work?
When using a process-compliant approach to testing a safety-critical project, what is an important aspect of test automation?
A developer has implemented a class that calculates if a given date is a leap year. The definition
for the leap year is given:
Every year that is exactly divisible by four is a leap year, except for years that are exactly
divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.
- divisible by 4
- but not by 100
- years divisible by 400 are leap anyway
You have already thought about it and started with the first test class; the test class looks like
(pseudo JavaScript used here):
// LeapYear.spec.js
describe('Leap year calculator', () => {
it('should consider 1996 as leap', () => {
expect(LeapYear.isLeap(1996)).toBe(true);
});
});
What would now be your next step to proceed as efficient as possible, to validate the correctness
of the class above?
An increased proportion of automated test coverage often leads to a greater degree of manual
testing that follows reactive strategies, because:
You have been given the following story
As a shopper
I want to scan my membership card
So that I get all the discounts I'm entitled to receive
Which of the following is the correct use of BDD to design test scenarios?
Which of the following best describes when the test automation suite should be updated in order to keep up with the development of new/changed software?
The challenges described below are of test automation in agile settings or agile projects. Which is
the correctly described one?
Consider the following section of pseudocode
Display "You exceeded the number of tries to enter a password. Your account is now locked. Call customer.
For this section of code, which of the following issues should be identified during a code review?
1. Variables have not been properly defined with meaningful names
2. There are unused variables defined
3. Divisors are not tested for zero
4. Loop counters are not properly initialized
5. There are endless loops
6. There are statements within the loop that should be outside the loop
Whose perspective should be used when a user story is created?
You are testing a large e-commerce system for household goods that is being implemented using Agile methodologies You are currently working on deriving tests tor stories that are implementing the following epic.
As a customer I want to use the e-commerce system, so that I can have my purchased goods delivered to my house.
The story you are currently working on is
As a customer I want to be told how many items I need to purchase, so I can receive free shipping
Which of the following is an appropriate test charter for this story?
You have been working as a tester in an Agile team You have found that the user stories are being defined by the team but it is still unclear what will be a successful outcome Even after story elaboration you are still unclear as to what a story should do As a result, you're not really sure what to test or to know when you'll be done with testing This problem is becoming worse as completed stories are showcased but the product owner is unhappy with the results
You've looked into the matter further and the comments from the product owner indicate that features are missing from the stories. The story is functioning correctly within the limited definition of the story but the product owner is expecting more functionality, such as error handling that isn't being defined in the story
What technique should you implement that would help to further define the product owner's expectations and alleviate the issues that are arising during the show cases?
Which of the following is an example of how continuous testing facilitates continuous delivery?
The following user story has been written for a new application being developed to pre-book a space at a National Car Park.
As a vehicle driver
i want to be able to pre-book a car parking space online, selecting a disabled driver's space if needed
So that l can pay in advance and receive confirmation of my parking space number.
The following acceptance criteria have also been written:
•Payment can be made via PayPal, Debit or Credit Card
•Confirmation of payment and car parking details should be sent after the booking process is completed
•Driver information is stored in the reservation database
The database has been built and tested in a previous sprint, but the interface to the different payment methods have yet to be developed
As a tester in an agile team, you have been asked to review the user story You have detected some issues with this story:
1.it needs to cater for different user groups: a driver or disabled driver
2.it needs to cater for different vehicle types: a car. 4x4. van or motorbike
3.There are no acceptance criteria relating to how quick the booking process should be
4.How confirmation is to be sent for payment and space number, and other important details, have not been specified
5.A stub will be needed to test the payment method
Which pair of requirements engineering techniques are you MOST LIKELY to have used to uncover these issues’
SELECT ONE OPTION
You are defining the test approach for an Agile project release which is to develop an improved user interface for a golf club's booking system plus some additional features that will provide more flexible bookings across the three courses The improvements have been primarily driven by customer complaints that the booking system is difficult to follow and restrictive The release will be divided into six two-week sprints
The stakeholders have performed a risk assessment for the release and have determined that whilst the system is not mission critical, customer business could be lost and thus a risk level of High has been agreed. As there is may be a high degree of change to the screen design and functionality across the sprints, a regression-averse strategy is recommended.
Which option in the table below represents the BEST test approach for this release, where the following symbols apply?
♦+ (highly recommended)
♦ (recommended)
o (neutral/optlonal)
• (not recommended)
- (not to be used)
OptionTest AutomationExploratory Testing(manual) Black-box testing
1♦+0♦♦
2-+♦+
3♦+0-
4♦♦♦♦
SELECT ONE OPTION
A unit test should be deterministic. Which option correctly describes the meaning of 'deterministic' as a characteristic of a unit test9
SELECT ONE OPTION
Why could test cases need to be refactored in an Agile project?
SELECT ONE OPTION
You need to implement a Java class that validates a password entry field. The validation critena states that the password must:
1. be a minimum of 8 characters
2 contain at least one special character.
You are focusing on validation criterion 1 and have written a test class that checks that a 7 character password entry will fail validation.
You have written code designed to make this test class pass, however, on first execution of the test class it has failed
What should you do next9
SELECT ONE OPTION
Which statement about test automation is TRUE?
SELECT ONE OPTION
Which statement is correct regarding the use of exploratory testing for safety critical systems?
SELECT ONE OPTION
Which requirements engineering technique would BEST identify how different groups of users may interact with a system, helping to identify gaps and inconsistencies in a user story-’
SELECT ONE OPTION
The following user story has been written:
As a paying hotel guest
I want to see the charges that have been added to my bill
So that I can monitor my expenditure and know In advance how much I will have to pay when I check out
The notes that have been added to It mention that It must be possible for the guest to get a printout of the bill, see It In a variety of currencies and set a flag in the hotel's billing system against any Item that they wish to challenge.
The following acceptance criteria have been defined:
1.The user shall be able to choose from the most commonly-used currencies.
2.The application must be accessible on most mobile platforms as well as on the hotel room's smart TV.
3.The hotel manager must be notified whenever a bill item is flagged by a hotel guest.
4.End-to-end response time for any individual request submitted by a user must not exceed 7 seconds.
Applying the INVEST technique to this user story, including its acceptance criteria, which of the following statements is correct?
SELECT ONE OPTION