3 Months Free Update
3 Months Free Update
3 Months Free Update
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?
Which statement about test automation being applied to a reactive test approach, is CORRECT’
SELECT ONE OPTION
Why could test cases need to be refactored in an Agile project?
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
Which option correctly slates a recommended guideline for formulating 8DD scenarios0
SELECT ONE OPTION
You have identified existing test cases that require re-factoring, Which is the NEXT task you should perform?
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
Your team is developing an e-shop application (the SUT) that will use a third-party service to process payments via an API. This third-party payment gateway is itself still under development Which statement contains a pair of benefits that can BOTH be expected from service virtualization in this circumstance’
SELECT ONE OPTION
Which option describes a good practice when applying test automation for a Regression-averse test approach?
SELECT ONE OPTION
**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?**
When test cases are re-run after refactoring, what should always be verified?
You have been asked to supply the data file for a data-driven test automation script that will be used to test the following story:
As a customer, I want to be told how many items I need to purchase, so I can receive free shipping.
You have been told the automation will verify whether or not the free shipping message is displayed. Which of the following columns should appear in your data file to support the automated testing of this story?
**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?**
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?
Consider the following section of pseudocode:
function getPassword() {
var x;
var y;
var z;
var passwordGood = false
// Get password from user, user is allowed 3 tries
do until x = 3
call getPassword (password)
if password is good
x = 3
passwordGood = true
else
X = X + 1
display “Password is not valid, try again’’
endif
If passwordGood <> true
display “You exceeded the number of tries to enter a password. Your account is now locked. Call customer service.”
endif
endloop
}
For this section of code, which of the following issues should be identified during a code review?
Variables have not been properly defined with meaningful names
There are unused variables defined
Divisors are not tested for zero
Loop counters are not properly initialized
There are endless loops
There are statements within the loop that should be outside the loop
Which of the following is the preferred way to solicit information from the product owner to better understand what will be “acceptable”?
Which of the following statements about performing exploratory testing with test charters is
correct?
Which of the following is an example of how continuous testing facilitates continuous delivery?