You are an experienced tester on an Agile team that is producing a new application. The product backlog has been refined sufficiently to begin development for the first release. This stories in this backlog contain a mixture of functional and non-functional requirements, as well as some technical stories that will provide elements of the application's infrastructure The developers have decided to use TDD as a deveiopment approach but automation of the acceptance tests is not yet planned.
You have been asked to recommend whether or not the team should take an atdd approach as well as TDD. what would be the BEST recommendation in these circumstances?
SELECT ONE OPTION
which statement about test automation is TRUE?
SELECT ONE OPTION
Your Agile team is developing a web-based system that will allow users to browse and buy online from a store's shopping catalogue. Continuous Integration has been implemented and technically it is working well, running several times per day, but each run is taking almost as much time as the team is prepared to allow. It is clear that after a few more iterations, as the number of tests needed grows with the product, it will be taking too much time.
Which of the four options contains a pair of solutions that will BOTH help to solve this problem?
a.Only include unit and component integration tests in the automated Cl runs.
b.Schedule low priority tests to be the first ones executed in each run, in order to provide rapid build verification.
c.Reduce the extent to which the automated tests go through the user interface, using technical interfaces instead.
d.Reduce the number of Cl cycles run each day.
e.Select a subset of automated tests for the daytime Cl runs, and run as many of the other tests as possible in an overnight cycle.
SELECT ONE OPTION
A new Payroll system calculates the amount of tax that each employee must pay (TaxToPay) on their gross monthly salary (in (), and the net salary (NetSal) that they will receive after that amount of tax has been deducted It also calculates the amounts of tax (TaxPdYTD) and net salary (SalPdYTD) paid in the year to date (YTD) by adding them to the stored amounts from last month (for month 1 these will be zero), inputs Include Employee id (Empid) and Gross Salary this month (GrossSal). Tax Rate is looked up on the key of Employee Id, the amounts of tax and net salary paid in the year to date are looked up on the key of (Employee Id and [month • 1]) except that for month 1 they will be zero.
if both employees were paid the same in month 1 as in the current month 2. for which tax has now to be calculated, which data-driven input and expected output table is correct for this situation?
Table 1
MonthEmpidGrossSalTaxRateTaxToPayNetSalTaxPdYTD
212000153001700600
222200204401760880
Table 2
MonthEmpidGrossSalTaxRateTaxToPayNetSalSalPdYTD
2120000.153001700600
2222000.24401760880
Table 3
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
11200030017006003400
12220044017608803520
Table 4
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
21200030017006003400
22220044017608803520
SELECT ONE OPTION
You are ar teviemng the fdbwng Java furxton that deteimates whether a curb*. rput by the user. * Even or Odd Public da»s Oddorfven {
public state void mair^Strcg [ | args) (
Scarcer read - new ScanrerfSystem inje
System out prim (’Pease enter a rxmber'i;
int Number • reader nextfntO,
if(Number^2»»0)
System out prrrtln "your input number 'Number ♦ * is even ).
else
System out prntirfyour input number 'Number ♦ * is odd*);
)
}
You are Qj>ded by ’.he following checklist
•All variables must start with a Capital letter
•All output messages must start with a Capita letter
•There must De a comment bne e« pla ning the purpose of the dess
How many checklist items Mve been fuelled7
SELECT ONE OPTION
Which option correctly slates a recommended guideline for formulating 8DD scenarios0
SELECT ONE OPTION
Which option describes a good practice when applying test automation for a Regression-averse test approach?
SELECT ONE OPTION
Which statement about test automation is TRUE?
SELECT ONE OPTION
Which statement about test automation being applied to a reactive test approach, is CORRECT’
SELECT ONE OPTION
Why might static analysis be used on an Agile project’
SELECT ONE OPTION
For the story “Make a call from the mobile app to the backend system” associated with the epic “View Frequent Flyer Miles and Status," which of the following story acceptance criteria is in most need of refinement?
Which of the following is a correct statement?
You have been asked to supply the list of keywords for a keyword-driven test automation script that will be used to test the following story:
As a customer, I want to be able to add and delete items from my shopping cart, so that I can buy the right number of items and still get free shipping on some of the items.
The automation will add and delete items from a customer’s shopping cart and will then verify that the total shipping cost is correct. The test automation library has a large set of keywords that have been coded to support this e-commerce site. Which of the following is the smallest set of keywords that contains the ones needed to support testing this story?
Which of the following is an expected problem that often occurs with automation test suites?
You want to get information from a large set of users to help define acceptance criteria for a set of stories. You want to use questions with predefined answers and allow the user to select the best answer from that set. What type of elicitation technique would be most efficient to use?
Why is it important to refactor test cases to make them easier to understand?
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?
Which of the following is a primary goal for refactoring test cases?
If you are targeting your testing for a particular group of users with particular defined characteristics, what requirements engineering technique would be most helpful when designing your tests?
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?
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?
You have received this BDD test
Given that a customer enters the correct PIN When they request to make a withdrawal And they have enough money in their account Then they will receive the money And a receipt
Which of the following is the user story that best fits this BDD test?
The challenges described below are of test automation in agile settings or agile projects. Which is
the correctly described one?
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?
As a tester on an Agile team you have been given the following user story to analyze
As a medical professional
I want to see the availability of operating rooms
So I can schedule surgeries as needed
You have talked with the product owner and she expressed some concern over the term "medical professional" You have looked into this and found that doctors want to schedule their surgeries but the hospital administrator does not want them to have this ability At this point what should you do to try to resolve this issue?
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?
Whose perspective should be used when a user story is created?
You are testing a new feature in the current iteration. The feature is supposed to take the input of a name and return the number of characters in the name. This information is used by another feature that will determine the size needed on a form. The acceptance criteria state the following
1) a name of up to 30 characters should be accepted
2) standard error processing should be in place to limit user errors
The developers are using TDD and you have asked to see their tests. This is what they gave you
When you run your manual tests you are finding that when you use the following inputs you get the associated results:
From these results what can you conclude about the TDD process?
Refactoring of test cases is needed in agile projects for many reasons.
Which of the following statements about the refactoring of test cases is correct?