Вы находитесь на странице: 1из 11

CSE-5324 Spring-11/ShopCruiser

-9-

Shop Cruiser Use Cases

Revision History
Date Feb 27 2011 Change Description First Version

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

1. UC CRUD on Shopping List


UC Name: Create / Read / Update / Delete Shopping List Scope: ShopCruiser Android App Preconditions: None Post conditions: The user is able to create a shopping list, which he can use any time (Even if he restarts the phone) Main Scenario
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.

The user enters a product name (search key like "milk") and submits The system responds with the list of products ("Muscle Milk, AISLE1, 5 USD", "Chocolate Milk, AISLE2, 3 USD" , "Strabery milk, AISLE3, 2 USD" etc..) The user then selects from the list (For example, the user selects "Chocolate milk") The system asks for the quantity to buy The user enters 1 Gallon The system adds "Chocolate Milk, AISLE1, 1 Gallon, 5 USD" to the list The system displays the list so far. Steps 1 - 8 in loop until done The list is auto saved

Alternate Scenarios The user can delete an entry from the shopping list 1. The user selects the item of interest 2. The user deletes the item from the shopping list b. The user can update an entry from the shopping list 1. The user selects the item of interest 2. The user selects update option 3. The user edits the quantity and other details (Remarks) 1. No product exists which matches the product name a. The system displays Not Found b. The system can suggest similar products (Out of Scope for now)
a.

Screenshots for UC - CRUD

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

2. UC Select the shopping list


UC Name: Select the shopping Itinerary Scope: ShopCruiser Android App Preconditions: There are some shopping lists in the system Post conditions: The user will select the shopping list. All subsequent interactions with the system will be based on the selected shopping list. Main Scenario
1. 2. 3.

The user asks the system to show the stored shopping lists The system shows the user the full list The user selects one of the saved shopping lists

Screenshots for UC - Select the shopping list

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

3. UC Create Itinerary
UC Name: Create Itinerary (based on shortest route) Scope: ShopCruiser Android App Preconditions: The user has selected a shopping list Post conditions: The itinerary will be created which the user can use any time, even offline Main Scenario
1. 2. 3.

The user clicks on Create Itinerary The system calculates the shortest path and prepares an itinerary based on this. The itinerary can be displayed offline (when the phone is not connected to the network)

Screenshots for UC - Create Itinerary

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

4. UC Display Itinerary in Text


UC Name: Display Itinerary in Text Format Scope: ShopCruiser Android App Preconditions: The user has already created an itinerary Post conditions: The user will get a complete text description on how to move about the store (Similar to Google maps text directions) Main Scenario
1. 2.

The user selects the shopping itinerary to be displayed The system prints the text directions in a format which is given here

Text-Based Directions 1. Entry 2. Go straight till you find AISLE-1 3. Take a right turn and walk straight 4. Go pass AISLEs 2,3 5. You will find AISLE4. 6. Now take a left turn into the AISLE4 section H 7. Pick up Strawberry milk 8. Come back to the begining of AISLE4 ShopCruiser Use Cases CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser 9. Take a left turn and walk straight 10... 11... 12...

-9-

5. UC Display Itinerary in Map form


UC Name: Display Itinerary in Text Format Scope: ShopCruiser Android App Preconditions: The user has already created an itinerary Post conditions: The user will get a map description on how to move about the store (Similar to Google maps Map directions) Main Scenario
1. 2.

The user selects the shopping itinerary to be displayed The system prints the map directions in a format which is given here

Map-based Directions

UC - Screenshots for UC 4 & 5

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

ShopCruiser Use Cases

CSE-5324/Spring-11

CSE-5324 Spring-11/ShopCruiser

-9-

ShopCruiser Use Cases

CSE-5324/Spring-11

Вам также может понравиться