0% found this document useful (0 votes)
42 views4 pages

Use Cases:: Browse Catalog

The document outlines various use cases for an online bookstore application including browsing the catalog, maintaining a user account, managing the shopping cart, and administrative functions. Key use cases allow users to search for books, give ratings, register, login/logout, update profiles, place/view orders in their cart. Administrators can login, add/delete categories and books, and manage orders placed by users.

Uploaded by

Fukrey TV
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views4 pages

Use Cases:: Browse Catalog

The document outlines various use cases for an online bookstore application including browsing the catalog, maintaining a user account, managing the shopping cart, and administrative functions. Key use cases allow users to search for books, give ratings, register, login/logout, update profiles, place/view orders in their cart. Administrators can login, add/delete categories and books, and manage orders placed by users.

Uploaded by

Fukrey TV
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Use Cases:

Browse Catalog
1) Search for a Book
• Purpose: A user can search for a book of his choice by selecting category and
title. Then a select query is used to retrieve data from the database and display
the selected information.
• Actor: User
• Input: The user will select a category and enter title in a text box provided.
• Output: The system will display the books which matches the selected search
criteria. A dataset is created as a result of select query. Later the dataset is
binded to the data repeater to display the selected data.

2) Perform Advanced Search


• Purpose: If the user wants to perform an advanced search he can search for a
book of his choice by selecting category, title, and author and price range. Then
a select query is used to retrieve data from the database and display the
selected information.
• Actor: User
• Input: The user will select a category and enter title, author, and price range in
a text box provided.
• Output: The system will display the books which matches the selected search
criteria. A dataset is created as a result of select query. Later the dataset is
binded to the data repeater to display the selected data.

3) Give rating to a book


• Purpose: If the user wants to give rating according to his opinion for a book he
can select either Excellent, Very good, good, regular or deficient. The final rating
of a book will depend on all the individual user rating
. • Actor: User
• Input: The user will select a rating based on his opinion.
• Output: The system will display the rating of a book and the total number of
votes received. Below is the display for various rating.
***** Excellent
**** Very Good
*** Good
** Regular
* Deficient
Maintain Account
1) Register
• Purpose: If the user doesn’t have an account then he will be asked to
register.
• Actor: User
• Input: The user will enter details in the registration form according to the
required fields. The fields include
1. Username
2. Password
3. Confirm password
4. First name
5. Last name
6. Email
7. Address
8. Phone
9. CC details
• Output: After registration the user will be directed to the main home page.

2) Login
• Purpose: If the user wants to get access to all the functionalities of Online
Book Store he should login using his username and password.
• Actor: User
• Input: The user will enter his username and password.
• Output: If it is a successful login the user will be directed to the main home
page. Else if the user enters invalid information he will be asked to check the
entered information.

3) Update Profile
• Purpose: If the user wants to change his personal account information then
he can update his selected fields and the entire data will be updated in the
data base through an update query.
• Actor: User
• Input: The user will update his account information.
• Output: The system will update the entered information in the database
using an update query.

4) Logout
• Purpose: If the user wants to end his session and sign out of the website
then he can use the logout option.
• Actor: User 12
• Input: The user will click the logout button.
• Output: The user’s account session comes to an end and he should login
again if he wants to enter into the website.

Manage Shopping Cart


1) Place an order
• Purpose: If the user wants to purchase a book then he can place an order by
selecting the add to shopping cart button and entering the quantity required
under the book description.
• Actor: User
• Input: The user will enter the quantity required and click the add to shopping
cart button.
• Output: The order will be added to the user’s shopping cart.

2) Update Shopping Cart


• Purpose: If the user wants to change the quantity of a book or change a book
then he can update his shopping cart.
• Actor: User
• Input: The user will click the details button in the shopping cart summary to edit
and update his order details...
• Output: The updated order details are reflected in the shopping cart summary.

3) View Shopping Cart


• Purpose: If the user wants to view the items he added to the shopping cart
then he can click the shopping cart link at the top of the page.
• Actor: User
• Input: The user will click the shopping cart link at the top of every page.
• Output: The user’s shopping cart summary will be displayed in the form of a
tabular format with all the books and their quantity. A total cost of all the items is
also displayed at the bottom.

Administrator

1) Login
• Purpose: If the Administrator wants to get access to all the functionalities of
Online Book Store he should login using his username and password.
• Actor: Administrator
• Input: The Administrator will enter his username and password.
• Output: If it is a successful login the Administrator will be directed to his
menu page. Else if the Administrator enters invalid information he will be
asked to check the entered information.

2) Add or Delete Category


• Purpose: If the Administrator wants to add or delete a book category then
he can insert or delete a book category using his administration rights and
the category table will be updated in the database.
• Actor: Administrator
• Input: If the Administrator wants to add a book category the he should click
the insert link button in the category page else he can delete a particular
selected book category.
• Output: The updated categories list will be displayed in the main home
page.

3) Add or Delete Book


• Purpose: If the Administrator wants to add or delete a book then he can
insert or delete a book using his administration rights and the book table will
be updated in the database.
• Actor: Administrator
• Input: If the Administrator wants to add a book the he should click the insert
link button in the book page and fill the following fields related to the book. 1.
Title 2. Author 3. Price 4. Category 5. Notes 6. Product URL If he wants to
delete a book he can click the delete button to remove it from the
database.
• Output: The updated books list will be displayed in the main home page
under their particular category.

4) Manage Orders
• Purpose: If the Administrator wants to add or delete an order then he can
insert or delete an order using his administration rights.
• Actor: Administrator

You might also like