You are on page 1of 5

Name Login

Participating Actors Customer/Gmail


Goals Log in to the app to use the service from the app
Triggers User wants to log in to the application
Pre-Condition 1. User account has been created
2. User account has been authorized
3. The user's device was connected to the internet when
logging in
Post-Condition 1. The user has successfully logged in to the application
2. The system records successful login activity to
Activity Log.
Basic Flow 1. User accesses application.
2. The user selects the login method with the account
3. User enters account and selects login command
4. The system validates the login information successfully
and allows the user to access the application
5. The system records successful login activity to.
Alternate Flows 1. The user chooses the method of logging in with a
Gmail account
2. The system switches to the Google login screen
3. The user enters the Google account and selects the
login command
4. Google successfully validates the login credentials and
allows the user to access the app
Exceptions 1. The system has failed login credentials and displays a
message.
2. The user chooses the command to cancel login.
Use Case stopped.
3. The user chooses the command to retrieve the password
Qualities 1. Time out for the login screen less than 60 seconds.
2. The user's password must be hashed using MD5.

Name Register
Participating Actors Customer
Goals Customer register to be member
Triggers User wants to create new account
Pre-Condition 1. User name is not existed
2. Information is valid
Post-Condition 1. The account has successfully created
2. The system records account to the database
Basic Flow 1. User choose create account.
2. Registration form will be shown
3. User enters detail information
4. User press submit
5. The system validates the login information successfully
and allows the user to access the application
6. The system records successful account activity to.
Alternate Flows If the login is not successful, the system will
request them to register
Exceptions 1. The process is not successful
2. The system request user to check the information
Qualities 3. Time out for the login screen less than 60 seconds.
4. The user's password must be hashed using MD5.

Name View order information


Participating Actors Manager, Customer
Goals View the customer orders information
Triggers Request to view order
Pre-Condition Menu item on Menu, Placing Order
Post-Condition View Bill and Pay for Bill
Basic Flow 1. User Request to view order
2. User View order
Alternate Flows User wait staff to bring and bring them all
Exceptions Display error if it not exist
Qualities Takes less than 10 seconds to load
Name View shopping cart information
Participating Actors Customer
Goals View the information for the order
Triggers Request to view Bill
Pre-Condition Menu item on Menu, Placing Order
Post-Condition View Bill and Pay for Bill
Basic Flow 1. User Request to view Bills
2. User View Bills
Alternate Flows User wait staff to bring and bring them all
Exceptions Display error if it not exist
Qualities Takes less than 10 seconds to load
Name View product information
Participating Actors Customer, Manager
Goals View the information for the product
Triggers Request to view Bill
Pre-Condition Menu item on Menu, Click on Product, Click on each items in
shopping cart/ orders
Post-Condition View Information of this product
Basic Flow 1. User Request to view products
2. User View product
Alternate Flows
Exceptions Display error if it not exist
Qualities takes less than 10 seconds to load

Name Change personal information


Participating Actors Customer, Manager
Goals Change their information
Triggers Request to view information
Pre-Condition User logged in system
Post-Condition View Information of this person
Basic Flow 1. User Request to change information
2. User change information
3. User press Submit
4. The information will be change if the
valid
Alternate Flows
Exceptions 1. The information is not valid
2. The system request user to fill information
again
Qualities Takes less than 10 seconds to load

Name View personal information


Participating Actors Customer, Manager
Goals View their information
Triggers Request to view information
Pre-Condition User logged in system
Post-Condition View Information of this person
Basic Flow 1. User Request to view information
2. User View information
Alternate Flows
Exceptions
Qualities Takes less than 10 seconds to load

Name Add new Product


Participating Actors Manager
Goals Add new product
Triggers Request to add product
Pre-Condition This Product has not added to system
Post-Condition Product add to system
Basic Flow 1. User Request to add Product
2. User Fill the information
3. User press Submit
Alternate Flows
Exceptions The product id has existed
Qualities Takes less than 10 seconds to load

Name Delete new Product


Participating Actors Manager
Goals Delete new product
Triggers Request to delete product
Pre-Condition This product has added to system

Post-Condition Product will be removed


Basic Flow 1. User Request to delete Product
2. User Choose the Product
3. Press submit
Alternate Flows
Exceptions
Qualities Takes less than 10 seconds to load
Name Change Product Information
Participating Actors Manager
Goals Change product info
Triggers Request to change product
Pre-Condition This product has added to this system

Post-Condition Product information has changed


Basic Flow 1. User Request to change Product
2. User Fill the information
3. Press submit
Alternate Flows
Exceptions 1. The information is invalid
2. The product id is existed
Qualities Takes less than 10 seconds to load
Name Add items into the shopping cart
Participating Actors Customer
Goals Add items in the cart
Triggers Request to add item
Pre-Condition 1. Customer has logged to the system
2. The quantity is more than the customer needs
Post-Condition The system show the new item
Basic Flow 1. The user chooses the item to add
2. Enter the entity
3. Submit
Alternate Flows
Exceptions The quantity is less than user need
Qualities Takes less than 10 seconds to load

Name Make payment


Participating Actors Customer
Goals Make payment
Triggers Request to make payment
Pre-Condition 1. Customer logged in system
2. The shopping cart is valid

Post-Condition The system send confirmation to email/phone


Basic Flow 1. The user press make payment
2. The users choose payment method
3. Submit
Alternate Flows
Exceptions Online payment is unsuccessful
Qualities Takes less than 10 seconds to load
Name Logout
Participating Actors Customer, Manager
Goals Logout to the system
Triggers Request to logout
Pre-Condition Customer logged in system
Post-Condition Customer logout and in the home page for all types of
users
Basic Flow 4. The user press logout
5. The users see the confirmation
6. The user logout
Alternate Flows
Exceptions
Qualities Takes less than 10 seconds to load

You might also like