Professional Documents
Culture Documents
ASSIGNMENT#4
SUBMITTED BY:
ADNAN HAIDER SP20-BSE-037
USAMA AHMAD SP20-BSE-036
ZAKIR KHAN SP20-BSE-065
JUNAID KHAN SP20-BSE-066
SECTION: BSE 3B
Date 17-05-021
Draw fully dressed Use case for “Add New Student” Use case.
Use case 1:
Primary actor: New customer.
Pre-condition:
Post-condition:
Extension: If password provided by the customer is less than eight digits then an error message is
displayed.
1. The new customer visits the site of online shop and clicks on the register button to register
himself so that he can shop.
2. After that a registration form will be displayed by the server to the new customer in which the
he has to provide the details like first name, last name, email id, password and address.
3. The server will authenticate the email id provided by the new customer by sending code to that
email and then ask the customer to rewrite that code in registration form.
4. After the customer fills the registration form his details will be saved and he will be now a
registered customer.
Log-in
Use case 2:
Primary actor: Registered customer/old customer.
Extension: Error message is displayed if the customer provides the wrong password as was given by him
in the registration form.
1. The registered customer will now login to the online shopping system by entering email and
password that he has provided in the registration form.
2. If he enters the correct email id and password then he will be able to view the items for
shopping.
View items
Use case 3:
Primary actor: Customer
Post-condition: Now the customer can select items that he desires after he has viewed the items.
1. The server will display the categories of items on the screen and the customer will be able to
view the categories of item and he will select the category he want to shop in.
2. He can also search for the particular item and if some items are out of stock or if some items are
on sale then server will display the message about that.
Use case 4:
Primary actor: Customer Add to cart
Pre-condition: The customer should have viewed the items in order to add them to cart.
Post-condition: The items that the customer has added to the cart must be saved by the server in order
to make the bill.
Extension: The customer can remove the items from the cart.
1. After viewing the items the customer will add the items that he wants in the cart.
2. He can also remove the items from the cart.
Pre-condition: The customer might have added at least one item in the cart.
Post-condition:
Extension: The customer can remove the order if he wants before confirming it.
1. After the customer has added the items in the cart the server will take the order and will ask the
customer to confirm it.
2. The customer can cancel the order or otherwise he will confirm it.
3. The server will generate the receipt of the order and will send a copy of that receipt to the
customer and one copy will be saved by the server for future reference.
Post-condition: After the customer clicks on the log out button he should be out of the online shopping
site and will not be able to shop. If he want to shop again he has to log in again.
1. If the customer has done the shopping or he has only viewed the items by logging in to the site
and now he wants to leave the site he will click on the log out button.
2. After clicking the log out button he will be out of the system.
Post-condition: After taking the bill from the customer the delivery boy will take a sign from the
customer to make sure that the customer has received the order.