diff --git a/Use-Case-Specification:-Search-for-Product.md b/Use-Case-Specification:-Search-for-Product.md index 5eda36d..1a3fa37 100644 --- a/Use-Case-Specification:-Search-for-Product.md +++ b/Use-Case-Specification:-Search-for-Product.md @@ -1,19 +1,24 @@ # 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. ## 2. Flow of Events ### Activity Diagram ![activity diagram](https://github.com/Mueller-Patrick/Betterzon/blob/master/doku/AC_SearchProduct.png) +### 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. Special Requirements +N/A ## 4. Preconditions -### 4.1 The user has to be logged in - +### 4.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 ## 5. Postconditions +N/A ## 6. Function Points [tbd] \ No newline at end of file