Académique Documents
Professionnel Documents
Culture Documents
Customer enters into the CD shop. They can view all items by browsing different categories. He can perform search operation or advanced search (more specific search) to find an item(s). If the required item(s) are available in the stock, the customer can place an order to buy or for rent and customer can also reserve the item(s) if it is not available in the stock. Only registered users can avail rent and reserve facilities after logging into the system. Rent facility will be given to the customers for maximum 7 days time after that they have to return the item(s). If the user does not return rental item(s) within the allowed time limit, then fine will be charged. User can pay the amount by cash or debit and credit cards. User can also manage his/her profile. Salesperson will receive amount from customer(s). Admin and salesperson can update stock and admin can manage user records.
<UC_01> Registration
Actor: Customer, Salesperson, Admin Pre-Condition: User is not already register to the system. Flow of Events: Open the sign up page. Fill out the form of details. Submit the information. Post-Condition: User has successfully registered to the system. Error Conditions: User has already registered to the system. User provides invalid information. Scenario (Alternate Path): User is already available in the system, so forget password screen will be opened automatically.
<UC_02>Login
Actor: Admin, Salesperson, Customer Pre-Conditions: User is register with the system Flow of Events: User will enter the username User will enter password Post-Conditions: User has successfully login in to the system Error Conditions: User enters wrong username and password Scenario (Alternate Path): User will be asked to enter username and password again if he fails to provide username and password 3 times continuously then register page will be automatically opened.
<UC_03>Search_Record
Actor: Customer, Salesperson, Admin Pre-Conditions:
User wants to find some data. Admin and salesperson must be register and login before performing user/customer search User must enter at least one keyword to search Flow of Events: User will enter keyword for search User can may select particular category for search User will submit query to get desired result Post-Condition: User will get the desire result or nearly equal result what he wants. No result is available for that query Scenario (Alternate Path): User will be asked to enter the valid keyword or at least one keyword to perform search operation again Error: User doesnt enter even a single keyword to search, he will get error massage.
<UC_06> Rent_an_Item(s)
Actor: Customer Pre conditions: Customer has to issue some disc on rent. The issued disc should be returned in the specified time. Post conditions: The disc returned successfully. The customers account cleared. Errors or risks: The customer does not return the disc in time. The rent is not paid by the customer in time. Scenario (Alternate Path):
<UC -08>View_Items_by_Catagories
Actor: Customer, Salesperson, Admin Pre-Conditions User wants to check stock Flow of Event User will enter in to system He/she will select categories which will be available on the screen He will click on category Further categories from that group will be opened. Post-Conditions: User has successfully viewed desired categories
<UC_09>Payment
Actor: Customer, Salesperson Pre-Conditions: User wants to buy or return an item(s) Flow of Events: User will show system generated slip for return or order number for buy an item(s) User will enter the credit or debit card pin number
Card information will be verified salesperson will be deduct the cash by system Post-Conditions: customer has paid for item(s) Error Conditions: user enters wrong pin number Scenario (Alternate Path): user will be asked to enter pin number again
<UC_10> Manage_Profile
Actor: Customer Pre-Condition: User has a valid account on the system. User has signed in to the system. Flow of Events: User will visit her/his profile & update the basic information of his/her profile. Post-Conditions: User has successfully updated his/her profile. Error Conditions: User tries to remove some necessary details e.g. address or username.
<UC_11>Manage_Record
Actor: Admin Pre-Condition: User is registered with the system. User has logged into the system. Flow of Events: User access to the system. Salesperson will add new record or can update record from the system. Post-Condition: Admin has successfully updated the records. Error Conditions: Tried to delete the item which is on rent Tried to add user which is already exists in the system. Scenario (Alternate Path): Admin will be shown an error massage if he tries to delete some item(s) which is on rent right now, then system will be asked to update another status for item(s) if applicable.
Activity Diagram
Rich Picture