Summer Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ex2p65

Exact2Pass Menu

Question # 4

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 carl, 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 carl 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 ecommerce site Which of the following is the smallest set of keywords that contains the ones needed to support testing this story?

A.

Add Item View Cart Compute Shipping

B.

Login Add Item, Delete Item Checkout, Compute Cart Total, Compute Shipping Complete Order

C.

Login Add Item Checkout Compute Carl Total Compute Shipping, Complete Order

D.

Login Add Item Delete Item View Cart Compute Shipping

Full Access
Question # 5

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?

A.

customer name # items, price of items, total shipping cost

B.

item ID quantity purchased free shipping (y/n)

C.

quantity purchased, free shipping (y/n), total shipping cost

D.

item ID quantity purchased free shipping (y/n), item shipping cost total shipping cost

Full Access
Question # 6

When using a process-compliant approach to testing a safety-critical project what is an important aspect of test automation?

A.

It must provide exhaustive regression testing

B.

It must provide traceability back to the requirements and results documentation

C.

It must implement automated checklists

D.

It must incorporate model-based testing

Full Access
Question # 7

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?

A.

Write the missing web service yourself and then hand over that code to the developers for further refinement

B.

Have the automation create a stub to replace the service for each execution and destroy the stub after execution is complete

C.

Use a service virtualization tool to create a virtualized service to be used by the test automation

D.

Use a service from a legacy product and integrate it with the system to allow use by the test automation

Full Access
Question # 8

When test cases are re-run after refactoring, what should always be verified'?

A.

That the branch coverage is the same or increased

B.

That they provide better logging than before

C.

That they provide the same results as before

D.

That tests that have now been made redundant are removed from the test set

Full Access
Question # 9

“As the leader of the marketing department, I want to have a content management system so that

my employees can edit and provide quality content to the readers”

Which of the following requirements engineering techniques would be the MOST effective for

identifying and prioritizing user stories for the given Epic?

A.

Storyboarding

B.

Story mapping

C.

Defining Personas

D.

Class Diagrams

E.

Use Cases

Full Access
Question # 10

You have to review the following user story that will be developed and tested during the next

Sprint:

As a potential conference attendee, I want to be able to register for the conference online, so that

registration is simple and paperless.

The following acceptance criteria are also mentioned:

i) Payment can be made via PayPal, Debit or Credit Cards

ii) An acknowledgement email is sent to the attendee after submitting the form

iii) Protection against spam is working as expected

iv) Information from the form is stored in the registrations database

v) All incorrect user inputs are flagged by the system

Which of the following correctly shows which acceptance criteria are testable?

A.

ii, iv, v are testable

B.

i, iii, v are testable

C.

i, ii, iv are testable

D.

iii, iv, v are testable

Full Access
Question # 11

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?

A.

TDD by the developers before they begin coding

B.

BDD by the developers when unit tests are being created

C.

ATDD by the team to better define the requirements

D.

A combination of TDD and BDD by the team to improve the pre-build testing

Full Access
Question # 12

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?

A.

It focuses on the delivery company instead of the activities of the user

B.

It does not cover the mam functionality of the user story

C.

The expected results are not defined

D.

The actions of the user are not clearly stated in the charter

Full Access
Question # 13

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

A.

The Testable and Negotiable criteria of INVEST have not been satisfied

B.

The Testable and Small criteria of INVEST have not been satisfied

C.

The INVEST criteria have all been satisfied by this epic

D.

The Negotiable and Small criteria of INVEST have not been satisfied

Full Access
Question # 14

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

A.

Table 3

B.

Table 1

C.

Table 4

D.

Table 2

Full Access
Question # 15

You are part of an agile team creating a user story.

Which of the following requirements engineering techniques would you use to provide a visual representation of the system and help to see the 'overall* story with the functional flow?

SELECT ONE OPTION

A.

Personas

B.

Use Cases

C.

Story Mapping

D.

Storyboards

Full Access
Question # 16

You are working on a project to develop an application that allows users to collaborate via bespoke, online whiteboards. The first release, delivering core functionality, highlighted misunderstandings of the user stories between testers, developers and the product owner during sprint development Since that release, the developers have agreed to implement a TDD approach for future software development.

Creation of the product backlog for the second release is underway and you have recommended to the project stakeholders that an atdd approach be adopted for the backlog's user stories. What would be a GOOD REASON for making this recommendation?

SELECT ONE OPTION

A.

The team wants to start using BDD and therefore atdd must also be used

B.

The test strategy states that automation shall be used to minimize effort for execution of acceptance tests

C.

TDD can only work effectively when an ATDD approach is used for the user stories

D.

use of attd examples will help address the misunderstandings encountered in release 1

Full Access
Question # 17

Which statement about test automation is TRUE9

SELECT ONE OPTION

A.

The number of test cases in the test suite increases by default from one iteration to another

B.

Test suite coverage can be increased without the need for refactoring

C.

Test development time should not consider changes to the test environments)

D.

Staff availability should not be allowed to constrain automated deployment

Full Access
Question # 18

which statement about test automation is TRUE7

SELECT ONE OPTION

A.

Test automation will increase the intervals at which continuous deployment to production can be achieved

B.

Test automation levels can be influenced by and can constrain the frequency of code deployments

C.

When continuous deployment is fully implemented there will be no need for manual testing

D.

When continuous deployment is fully implemented it will be necessary to automate only unit and integration tests

Full Access
Question # 19

Which statement about test automation is TRUE?

SELECT ONE OPTION

A.

Increasing test automation levels may decrease the frequency at which continuous deployments to production can be made

B.

Increasing test automation levels will eliminate the need for manual testing during continuous deployment

C.

Increasing test automation levels to increase the frequency of continuous deployment should always be an objective

D.

Minimizing the test suite by selecting, preparing and running only a subset of tests by using risk analysis should always be an objective

Full Access
Question # 20

Which option correctly slates a recommended guideline for formulating 8DD scenarios0

SELECT ONE OPTION

A.

The When steps should describe the specific technical actions that a user performs

B.

The scenario should use the third person to describe the initial slate and the interactions from the perspective of the user.

C.

The scenario should describe a general behavior that the system supports from the perspective of a specific user

D.

Dependencies between scenarios should be documented.

Full Access
Question # 21

A unit test should be deterministic. Which option correctly describes the meaning of 'deterministic' as a characteristic of a unit test9

SELECT ONE OPTION

A.

It should be small so that many tests can be run in a short period of time

B.

Whenever it is run under the same conditions, it should produce the same results.

C.

it should not depend on any other test.

D.

It should only test the functionality related to it.

Full Access
Question # 22

The following user story has been developed:

As a customer of Alpha Airways who has booked a flight

I want to access the flight reservation

So that I can update the booking details

Which BDD scenario written in Gherkin format correctly applies to this user story?

SELECT ONE OPTION

A.

Given that the logged-on user is a customer of Alpha Airways

When that user enters their surname correctly

Then they are able to see all flights currently booked so that they can select which flight they want to update

B.

Given that a customer has booked a flight with Alpha Airways

When that customer enters their surname AND enters the flight number for this reservation

Then the booking details for that flight are displayed

C.

Given that a customer has booked a flight with Alpha Airways

When that customer enters the correct surname and flight number for this reservation

Then the booking details for that flight are displayed

ELSE an appropriate error message is presented

D.

Given that a customer has booked a flight with Alpha Airways

When that customer enters their surname and the flight number OR enters their customer ID and the flight number for this reservation Then they are taken to the booking details for that flight so that they can update the booking details

Full Access
Question # 23

Which statement about test automation is TRUE7

SELECT ONE OPTION

A.

The term ‘test automation' refers to the automation of test execution

B.

Test automation can encompass include the configuration of test environments

C.

Creating and maintaining test automation frameworks is better done within the iteration teams

D.

it is more effective to have a single automation strategy for large projects

Full Access