ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 6 - CTAL-TTA discussion

Report
Export

The following User story is being developed using the 8DD approach:

As a Purchasing Manager

i want to see a list of all Purchase Orders placed so far this month with their total value

So that I can control the amount of money being spent

Which scenario is BOTH written in correct Gherkin format AND is appropriate for this User Story9

SEI ECT ONE OPTION

A.
Given that three Purchase Orders with a total value of 21.75 have been placed so far this month AND the Purchasing Manager has navigated to the Purchase Order Reporting page When the Purchasing Manager clicks the button 'List of Purchase Orders placed this month' Then the 3 orders and their total value of 21.75 are displayed
Answers
A.
Given that three Purchase Orders with a total value of 21.75 have been placed so far this month AND the Purchasing Manager has navigated to the Purchase Order Reporting page When the Purchasing Manager clicks the button 'List of Purchase Orders placed this month' Then the 3 orders and their total value of 21.75 are displayed
B.
Given that three Purchase Orders with a total value of 21.75 have been placed so far this month When the Purchasing Manager requests the list of Purchase Orders placed this month Then the appropriate details are displayed
Answers
B.
Given that three Purchase Orders with a total value of 21.75 have been placed so far this month When the Purchasing Manager requests the list of Purchase Orders placed this month Then the appropriate details are displayed
C.
Given that I am a Purchasing Manager AND three Purchase Orders with a total value of 21.75 have been placed so far this month When I request the list of Purchase Orders placed this month Then all orders and their total value of 21.75 are displayed
Answers
C.
Given that I am a Purchasing Manager AND three Purchase Orders with a total value of 21.75 have been placed so far this month When I request the list of Purchase Orders placed this month Then all orders and their total value of 21.75 are displayed
D.
Given that three Purchase Orders with a total value of 21.75 have been placed so far this month When the Purchasing Manager requests the list of Purchase Orders placed this month Then the 3 orders and their total value of 21.75 are displayed
Answers
D.
Given that three Purchase Orders with a total value of 21.75 have been placed so far this month When the Purchasing Manager requests the list of Purchase Orders placed this month Then the 3 orders and their total value of 21.75 are displayed
Suggested answer: D

Explanation:

The scenario written in correct Gherkin format and appropriate for the User Story described is Option D:

Given that three Purchase Orders with a total value of 21.75 have been placed so far this month,

When the Purchasing Manager requests the list of Purchase Orders placed this month,

Then the 3 orders and their total value of 21.75 are displayed.

This scenario correctly uses the Gherkin syntax with Given-When-Then structures that clearly specify the context, the action taken by the user, and the expected outcome, making it directly relevant to the user story's intent .

asked 18/09/2024
Tony Hartzell
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first