0 Use Case Specification: Search for Product
Patrick edited this page 2021-06-17 16:35:23 +02:00

Use-Case Specification: Search for Product

1. Use-Case: Search for Product

1.1 Brief Description

This use case shows the flow for searching a product and (if logged in) setting a price alarm.

1.2 Feature File

Find the .feature file here

2. Flow of Events

Activity Diagram

activity diagram
Cucumber Test File

2.1 Searching for a Product

When the user enters the name of a product he wants to search and then clicks "search" or presses enter, he will be presented with a list of products that matched the search term. He can then choose the product that he wants from the list and click on it, which will forward him to the detail page for this product. If he is already logged in, he can also set a price alarm on the detail page.

3. Mockups

Landing Page Product Detail Page

4. Special Requirements

N/A

5. Preconditions

5.1 The user has to be logged in to set a price alarm

Obviously, an anonymous user is not able to set a price alarm as we at least need the email address to send a notification. Therefore, only registered and logged in users are able to set a price alarm

6. Postconditions

N/A

7. Function Points

140