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

Name: Product Browsing Actor: Visitor, Shopper Description: the visitor opens the home page of the site

and starts browsing the categories of the products and the products under each category. Flow of Events: 1. the visitor opens the home page of the web site 2. the visitor selects a category of the products 3. the visitor is redirected to the product list page containing the products under the category he has chosen . the visitor selects a product to view its details !. the visitor is redirected to the product details page Alternative Flow of Events: Preconditions: Post conditions: Special Requirements: Name: "dding a product to shopping bas#et Actor: shopper Description: the shopper views the details of the product and choose add product to the shopping bas#et. $he shopper specifies the %uantity and then the product is added to the shopper&s shopping bas#et. Flow of Events: 1. $he shopper opens the product details page 2. $he shopper clic#s the "dd to Bas#et lin# 3. $he shopper is redirected to the product %uantity page.

. $he shopper enters the %uantity he wants and clic#s "dd to Bas#et lin#. !. $he shopper is redirected to the bas#et page that displays the products he has added to it. Alternative Flow of Events: ' $he visitor clic#s "dd to Bas#et on the product details page before logging in. o $he visitor is redirected to the login page to provide his user name and password o $he user is the redirected to the product %uantity page ' $he product %uantity available is less than the %uantity re%uested by the user. o $he user gets a message indicating that the %uantity available cannot cover the re%uested %uantity. Preconditions: -the shopper has logged in to the site with his user name and password 'the product %uantity available is more than (ero. Post conditions: ' $he product is added to the shopping bas#et of the shopper. ' $he shopper is redirected to the bas#et page where he can see the products added to it and remove of them, update the %uantity of any one or empty the bas#et as a whole. Special Requirements: Name: )hec#ing *ut bas#et Actor: Shopper

Description: the shopper opens the bas#et page and clic#s the chec#out lin#. $he shopper is redirected to the shipping data page where he can provide the shipping information. $he shopper provides the shipping information and then goes to the payment page to provide the billing information. Flow of Events: 1. the shopper opens his bas#et page and clic#s chec#out 2. the shopper is redirected to shipping data page 3. the shopper enters the his shipping data and then clic#s ne+t . the system calculates the shipping fees according to the following, a. the shipping fees are calculated according to the number of the products in the bas#et i. less than 1- , the shipping fees are (ero ii. from 1- to 3-, the shipping fees are 1! . iii. from 31 to !-, the shipping fees are 3. iv. more than !-, the shipping fees are - . !. the shopper is redirected to the payment data page /. $he shopper is provided with the calculated shipping fees on the payment page. 0. $he shopper provides the billing information and then clic#s ne+t. 1. the system validates the credit card information provided by the shipper 2. the shopper clic#s submit 1-. the shopper is redirected to the confirmation page 11. the shopper clic#s o#

12. the system saves the order data and provides an order id to the shopper 13. an email receipt is sent to the shopper Alternative Flow of Events: ' 3f the e+pire date of credit card was less than the current date a message indicating that will be displayed to the shopper. Preconditions: ' the shopper must log in ' the shopper has products in the bas#et Post conditions: ' $he shopper receives an email receipt and gets the id of his order. Special Requirements: Name: Profile 4anagement Actor: Shopper Description: the shopper opens the profile page and updates its entries and save the changes Flow of Events: 1. the shopper opens the profile page and clic#s edit 2. the page displays the profile entries in te+t bo+es so that they are editable 3. the shopper ma#es the modifications he wants to the profile entries and clic#s save Alternative Flow of Events: Preconditions: ' $he shopper has logged in Post conditions: - $he new modifications are saved in the database.

Special Requirements: Name: 5etting *rder 6istory Actor: shopper Description: the shopper opens the order history page and gets the status of all the orders he has made before. Flow of Events: 1. the shopper opens the order history page 2. the id, date and status of each order are listed on the page Alternative Flow of Events: ' 3f the shopper has no orders made previously he will get a message regarding this. Preconditions: ' $he shopper has logged in Post conditions: Special Requirements: Name: Searching Products Actor: Shopper Description: $he shopper opens the Search page and provides the price rating he li#es to get the products matching the provided price rating. Flow of Events: 1. $he shopper opens the search page 2. $he shopper enters the name or the price rating of the product 7low and high rates8 or both 3. $he shopper clic#s the search button and gets the products that their prices fall in the range specified. Alternative Flow of Events: ' no products match the specified price ratings

o $he user gets a message telling that no products match the specified prices. Preconditions: Post conditions: - the user gets a list of the products that match the price rating specified and he can view the details of the product by clic#ing its name. Special Requirements:

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