You are on page 1of 28

Hashim raza

F2018266180

Muhammad Ahmed Qureshi

F2019266136

Assignment 5

Bake my day

To Mam Fasiha Ashraf


1.1 List of Actors
1.2 List of Use Case

Use case ID 001 Use case Name: Create Account

Priority High

Actors: Customer, Administrator

Sign-up allows the user who is new to the system to create his
Use Case Summary
account that will allow him to fully use the bakery systems’
features.
Pre-condition: Bake My Day homepage is already loaded.
Actor Action System Response

1. The use case starts when the customer/


administrator click on sign up button on
the home page so that they can select a
required product, book that order and pay
for that order.

2. The system responds by displaying the


sign-up page.

3. Then customer /administrator verified


by the system.

4. The customer/ administrator will enter 4a: If the customer/administrator does not
their personal information first name, last enter a name the system prompts the user to
name, date of birth, C.N.I.C number, enter a name.
contact number, email and password.
4b: If the customer/ administrator does not
enter the date of birth the system prompts the
user to enter the date of birth

4c: If the customer/ administrator does not


enter the correct email address format or left
it blank the system prompts the user to enter
the correct email address

4d: If the customer/ administrator does not


enter the correct the password the system will
prompt the user to enter the correct alpha-
numeric password of 6 digits.

4e.If the customer/ administrator does not


enter contact number or it exceeds the limited
digit number the system prompts the user to
enter the date of birth

5. The customer/ administrator confirms 5a: If the customer/administrator does not


sign-up by clicking its button. want to create an account they can click the
cancel button.
6. The system responds by creating the
account.

7. A system responds by redirecting the


customer/administrator to the “My
Account” page where the user can
proceed to further bookings of order.

8. This use case ends.

Post Conditions

Step#1 Description

The account of a new member gets created

Use Case Cross References

Includes Verified Action

Extends None

Use case ID 002 Use case Name: Log in

Priority High

Actors: Customer, Administrator

Log in allows the users who already have an account in the


Use Case Summary
system to access the respective accounts that will allow them to
fully use the bakery systems’ features.
Pre-condition: The account in Bake My Day system already exists and the
home pageis loaded.

Actor Action System Response


1. The use case starts when the customer/
administrator click on login button.

2. The system responds by displaying the


log in page.

3. The customer/ administrator will enter 3a: If the customer/administrator does not
his/her username and password. enter correct username the system prompts
the customer/ administrator to enter username
the correct.

3b: If the customer/ administrator does not


enter the correct password the system will
prompt the user password mismatch.

3c: The system will allow the user to enter a


username and password three times then the
account will be locked.

4.The customer/ administrator confirms 4a: If the customer/administrator does not


log in by clicking login button. want to sign-in their account they can go back
to the home page by clicking back button.

5. The system responds by opening the


respective account.

6. A system responds by redirecting the


customer/ administrator to the “My
Account” page where the user can
proceed to further bookings of orders.

7.If customer/administrator forgot his/her


password then he/she can get help by
entering email account.

8. This use case ends.

Post Conditions
Step#1 Description

The account holder gets access to their


account.

Use Case Cross References

Includes None

Extends None

Use case ID 003 Use case Name: Search Product

Priority High

Actors: Customer, Administrator

Search item module allows the customer to select bakery items


Use Case Summary
category. It also allows the customer to search item by keyword
according to his/her choices by choosing flavors and
ingredients.
Pre-condition: The customer/admin is logged-in into respective account.

Actor Action System Response

1. The use case starts when the customer 1a: If the customer does not want to search
wants to search an item. item then he/she can cancel.

2. The system responds by displaying


search an order page.
3. The customer will search the order
according to these requirements:

 Item category
 Flavors
 Ingredients
 item name
 Deals
 Price

4. The system responds by giving


information about the product.

5. This use case ends.

Post Conditions

Step#1 Description

The customer can search item for order


according to his/her requirement.

Use Case Cross References

Includes None

Extends None

Use Case ID 004 Use case Name: Order Processing

Priority High

Actors: Customer

Order Processing module allows the customer to select his\her


Use Case Summary
desired bakery product along with customized products. Also,
he will be able to add, delete the selected product, edit the
quantity of selected product and give the shipping order details.
Pre-condition: The website must be live and the customer must be logged in to
the system.

Actor Action System Response

1. The use case starts when the customer/


administrator clicks the order now button.

2. The system responds by displaying 2a:If the customer doesn’t want to book order
Order Processing page. he/she can go back to home page.

3.After the customer logs in to the system, 3a: If the customer enters invalid username or
he will be able to select his\her desired password, then he will not be able to access
bakery product along with customized the system.
products.

4.The customer is able to add, delete the 4a: If a webpage is not responding, he will
selected product. And he/she is able to not be able to add or delete the bakery
edit the quantity of selected product and product.
also can give the order shipping details.

5. Customer adds shipping information.

6. After selecting the product customer


can also select the payment method that
are:
 Credit Card
 Debit Card
 Master Card
 Visa Card
Cash on delivery
7.The customer then enters the following 7a: if customer enters incomplete card no or
information: security pin then the system will show prompt
that information is incomplete.
Card no

Security pin

And click for further proceedings.

8. The customer enters his/her account no 8a: The order can never book if the bank
for the transaction. gives information that customer account
doesn’t have money.

9. This use case ends.

Step# Description

1. After the selection or deletion of bakery


product, he will be able to place his order.

Use Case Cross References

Includes None

Extends None

Use Case ID 005 Use case Name: Individual Customized Order

Priority High

Actors: Customer

Individual Customized Order module allows the customer to select


Use Case Summary
individual products and then select customization details and then
move towards order processing module.
Pre-condition: Customer must be logged in to the system.

Actor Action System Response


1. After the customer’s login, he will be 1a: Customer is unable to log-in the web
able to order an individually customized page.
order by selecting a product.

2. After selecting the product customer


move towards customization details in
which different option are given from
where the customer can select his/her
desired options like

 Topping

 Flavor

 Filling

3. After selection his/her individually


customized order customer will follow the
steps of module order processor.

4. The customer can update his/her order. 4a: Update button is not responding as the
content is too slow to load.

5.In this module,customer can also pay 5a: Customer’s credit card is expired or credit
advance payment to confirm his/her card number is invalid.
customized order.

6. This use case ends.

Post Conditions

Step# Description

1. An email confirmation message will be sent


to the customer.

Use Case Cross References

Includes Order Processing


Extends None

Use Case ID 006 Use case Name: Individual Non Customized Order

Priority High

Actors: Customer

Individual Non-Customized Order module allows the


Use Case Summary
customer to select products according to his/her requirement
and then can view the detail of products and then move
towards order processing module.
Pre-condition: Customer must be logged in to the system.

Actor Action System Response

1. The use case starts when customers click


on the ‘Individual Non-Customized Order’
tab which is placed on the navigation bar of
the website

2. A page is shown in the customer’s 2a: Animations doesn’t play if the browser
browser with some sections which are doesn’t support HTML 5 and Bootstrap 4.
representing available deals by different
bakeries with the price of each product

3. Customer clicks on the desired product 3a: Theminimum order in bulk will be of
which he/she wants. The customer can also 20 boxes.
view the detail description of the product.
4.After selection, the product a window
popped up in which customer will enter
product quantity. Your order has been sent
to the cart section.then it follows the steps of
order processing module. At the end,a
prompt appears “successfully placed order”.

Post Conditions

Step# Description

1. The cart has been updated.

The backlog of customer also updates

Use Case Cross References

Includes Order Processing

Extends None

Use Case ID 007 Use case Name:Custom Refreshment Boxes

Priority High

Actors: Customer

Refreshment Boxes module allows the customer to select


Use Case Summary
Box then select products according to his/her requirement
and select customization details and then move towards order
processing module.
Pre-condition: Customer must be logged in to the system.

Actor Action System Response


1. After the customer’s login, he will be able 1a: Customer is unable to log-in the web
to orderr customized deals by selecting Box page.
shape.

2.The customer can also select the size of


the box that customer required like

 Bakery gable boxes

 Bakery food boxes

 Bakery cookies boxes

 Cardboard bakery boxes

 Bakery favor boxes

 Custom bakery bags

 Pie boxes

 Chinese takeout boxes

 Pizza boxes

3. After selecting the shape of box customer


can also select the size of boxes.

4. The customer can select the desired


product.
5. After selecting the product customer
move towards customization details in
which different option are given from where
the customer can select his/her desired
options like

 Topping

 Flavor

 Filling

6. After selection his/her individually


customized order customer will follow the
steps of module order processor.

7. The customer can update his/her order. 7a: Update button is not responding as the
content is too slow to load.

8.In this module, customercan also pay 8a: Customer’s credit card is expired or
advance payment to confirm his/her credit card number is invalid.
customized deal.

9. This use case ends.

Post Conditions

Step# Description

1. An email confirmation message will be


sent to the customer.

Use Case Cross References

Includes Order Processing

Extends None
Use Case ID 008 Use case Name: Deals

Priority High

Actors: Customer

Deals module allows the customer to select deal then select


Use Case Summary
box according to his/her requirement and the customer can
also view the details of the product and then move towards
order processing module. If a customer wants to change box
then he/she can change it also.
Pre-condition: Customer must be logged in to the system.

Actor Action System Response

1. After the customer’s login, he will be 1a: Customer is unable to log in aweb page is
able to order customized deals by not responding.
selecting Box shape.

2. In the start of this module, the


customer can select the deal.

3. After selecting the deal customer can


also select the boxes.

4. Then the customer can also view the


description of his/her order.

5. After selection, his/her non customized


deal customer will follow the steps of
module order processor.

6. The customer can update his/her order. 6a: Update button is not responding as the
content is too slow to load.
7.In this module, the customers can also 7a: Customer’s credit card is expired or credit
pay advance payment to confirm his/her card number is invalid.
customized deal.

8. This use case ends.

Post Conditions

Step# Description

1. An email confirmation message will be sent


to the customer.

Use Case Cross References

Includes Order Processing

Extends None

Use Case ID 009 Use case Name: Select Box

Priority High

Actors: Customer

Selecting Boxes module allows the customer to select boxes of


Use Case Summary
different sizes according to their price range and venue
(Birthday, Meeting, weddings).
Pre-condition: The customer has placed his/her order.

Actor Action System Response


1. When the customer places his/her 1a: Customer can’t select any box as he has
order, he will be able to select boxes of placed no order.
different sizes according to their price
range and venue (Birthday, Meeting,
weddings).

2. This use case ends.

Post Conditions

Step# Description

1. Customer places his/her order by choosing a


box according to his own will.

Use Case Cross References

Includes None

Extends None

Use Case ID 010 Use case Name: Add Sample Box

Priority High

Actors: Admin

Adding sample box module allows the admin to add a sample


Use Case Summary
box that will help the customer to place his order.
Pre-condition: Admin must be logged in to the system.

Actor Action System Response


1. When admin logs in to the system, he 1a: Admin can’t able to add a sample box
will be able to add a sample of because he has entered invalid username and
refreshment box that will help the password.
customer to place his order.

2. This use case ends.

Post Conditions

Step# Description

1. Customer will be able to places his/her order


by getting help from a sample of refreshment
box.

Use Case Cross References

Includes None

Extends None

Use Case ID 011 Use case Name: Delete Sample Box

Priority High

Actors: Admin

Deleting sample box module allows the admin to delete a


Use Case Summary
sample box that will help the customer to place his order.
Pre-condition: Admin must be logged in to the system.

Actor Action System Response


1. When admin logs in to the system, he 1a: Admin can’t able to delete a sample box
will be able to delete a sample of because he has entered invalid username and
refreshment box that will help the password.
customer to place his order.

2. This use case ends.

Post Conditions

Step# Description

1. Customer will be able to places his/her order


by getting help from a sample of refreshment
box.

Use Case Cross References

Includes None

Extends None

Use Case ID 012 Use case Name: Update Sample Box

Priority High

Actors: Admin

Updating sample box module allows the admin to update a


Use Case Summary
sample box that will help the customer to place his order.
Pre-condition: Admin must be logged in to the system.

Actor Action System Response


1. When admin logsinto the system, he 1a: Admin can’t able to update a sample box
will be able to update a sample of because he has entered invalid username and
refreshment box that will help the password.
customer to place his order.

2. This use case ends.

Post Conditions

Step# Description

1. Customer will be able to places his/her order


by getting help from a sample of refreshment
box.

Use Case Cross References

Includes None

Extends None

Use Case ID 013 Use case Name: Add Deals

Priority High

Actors: Admin

Adding deals and toppings module allows the admin to add


Use Case Summary
deals and toppings that will help the customer to place his
order.
Pre-condition: Admin must be logged in to the system.

Actor Action System Response


1. When admin logs in to the system, he 1a: Admin can’t able to add deals and
will be able to add deals and toppings that toppings because he has entered invalid
will help the customer to place his order. username and password.

2. This use case ends.

Post Conditions

Step# Description

1. Customer will be able to places his/her order


by getting help from added deals.

Use Case Cross References

Includes None

Extends None

Use Case ID 014 Use case Name: Update Deals

Priority High

Actors: Admin

Updating deals and topping module allows the admin to delete


Use Case Summary
deals and toppings that will help the customer to place his
order.
Pre-condition: Admin must be logged in to the system.

Actor Action System Response


1. When admin logs in to the system, he 1a: Admin can’t able to updated deals and
will be able to update deals and toppings toppings because he has entered invalid
that will help the customer to place his username and password.
order.

2. This use case ends.

Post Conditions

Step# Description

1. Customer will be able to places his/her order


by getting help from the updated deals.

Use Case Cross References

Includes None

Extends None

Use Case ID 015 Use case Name: Check Order Status

Priority High

Actors: Admin

The updating Order Status module allows the admin toupdate


Use Case Summary
the status of the product.
Pre-condition: The customer has placed his/her order.

Actor Action System Response


1. When the customer places his/her 1a: If a webpage is not responding, the admin
order, the admin will be able to update will be unable to update order status.
his/her order status if the customer makes
any changes to his/her order.

2. This use case ends.

Post Conditions

Step# Description

1. Order status is updated after making changes


asked by the customer.

Use Case Cross References

Includes None

Extends None

Use Case ID 016 Use case Name: View Order History

Priority High

Actors: Customer

Order history module allows the customer to view his order


Use Case Summary
history with respect to time, date, month, received and money
Pre-condition: The order should be placed by customer at least one time.

The customer should be log into the system

Actor Action System Response


1. The use case starts when customers click 1a: Order history tab doesn’t respond if the
on the order history tab which is placed on customer is not logged in.
the navigation bar of the website

2. A page is shown in the customer’s 2a: Table shows no data if the customer doesn’t
browser with some table showing data place any order.
related to order.

3. Customer change the data of the table by


selecting a parameter from the drop-down
list which is placed above the table

4. This use case ends.

Post Conditions

Step# Description

1. Customer viewed his/her order history.

The backlog of customer also updates

Use Case Cross References

Includes None

Extends None

Use Case ID 017 Use case Name: Chat Bot

Priority High
Actors: Customer

Chat Box module allows the customer to get any help and
Use Case Summary
guidelines about any query using text through the chat box
Pre-condition: Customer must be logged in to the system.

Actor Action System Response

1. This use case will start when customer


clicks on chat box button.

2. The system will respond by showing


the chat box.

3. Customer is able to get any help and 3a: Customer has no account so he/she is unable
guidelines about any query using text to ask something using chat box.
through the chat box.

4. This use case ends.

Post Conditions

Step# Description

1. The customer gets information so he/she is able to


place an order.

Use Case Cross References

Includes None

Extends None

Use Case ID 018 Use case Name: Check Feedback and suggestions
Priority High

Actors: Customer, Admin

Feedback and suggestion module allows the customer to give


Use Case Summary
his/her feedback about a product that he\she purchased. Also, it
allows the admin to view and response to the feedback and
suggestions.
Pre-condition: Customer must have purchased a bakery product.

Actor Action System Response

1. The use case starts after the placement of 1a: Customer has not purchased any product
order by the customer; he will be able to give so; he is unable to give his/her feedback.
his/her feedback about the bakery product.

2. Admin will view the customer’s feedback 2a: If a webpage is not responding, he will
and he will respond to it. Also, he can approve not be able to view the feedback given by the
and delete his/her feedback. customer.

3. This use case ends.

Post Conditions

Step# Description

1. The feedback given by customer helps the


other customers to buy their desired product.

Use Case Cross References

Includes None

Extends None
1.3 Use Case Diagram
Figure 1 - Bake My Day UC diagram

You might also like