Question: Consider the following excerpt from the use case Order a soda from a soda machine: Pre-conditions: The machine is in the initial state, showing a

 Consider the following excerpt from the use case "Order a soda

Consider the following excerpt from the use case "Order a soda from a soda machine": Pre-conditions: The machine is in the initial state, showing a welcome screen. Main scenario steps: 1. A user selects the "Soda-1" type of a beverage. 2. The machine shows the price of the Soda-1 (80 cents). 3. A user enters 80 cents into the coin slot. 4. The machine returns the Soda-1 beverage. Alternative paths: 3a. a user inserts more than 80 cents (the machine returns change in step 4). 3b. a user cancels the operation (the machine returns the money and goes back To the welcome screen). Exceptions: 2. There are no "Soda-1" beverages in the machine. i. How many test cases are required to cover the use case? ii. Write the test cases based on your answer in 40). The test case should consist of test case id, test case description, test case step, test data and expected result

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!