Use Case Details - Akif1080/Virtual-Shop-Management-System- GitHub Wiki
Title: Create Account and Login
Actor: Customer, Owner, Deliveryman
Scenario:
- New customer, owner or deliveryman has to create account first to log in.
- After creating account, customer, owner or deliveryman will have to log in.
- If anyone already has an account, he will have to log in.
- Customer can view the log in page.
- Owner can view the log in page.
- Deliveryman can view the log in page. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error.
- Incorrect confirmation code.
- Incorrect email.
- Incorrect password. Precondition:
- Customers have a device with internet connectivity.
- Owners have a device with internet connectivity.
- Deliverymen have a device with internet connectivity.
- Customers, owners and deliverymen already have an account.
- Customers, owners and deliverymen have minimal and basic knowledge of English language.
- Customers, owners and deliverymen have internet connection.
- Customers, owners and deliverymen are familiar with web browsing. Post condition:
- Successful: Customers, owners, deliverymen create new account.
- Successful: Customers, owners, deliverymen login to the site.
- Unsuccessful: Customers, owners, deliverymen provided the wrong confirmation code or email address or password thus cannot create account or login to the site.
- Unsuccessful: Customers, owners, deliverymen cannot log in to the site due to network traffic.
- Unsuccessful: Customers, owners, deliverymen have internet issues.
- Exception: Redirect the unregistered users to the register page.
Title: Product categories
Actor: Customer
Scenario:
- Customer will see an option named “Product Category” where they will be able to see all categories of products.
- Customers will see an option for searching special offers.
- Customers will see an option for searching groceries.
- Customers will see options for searching Electronics, Clothes, Furniture etc.
- Customers will get “Currently Out of Stock” notification for unavailable products. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Customers have a device with internet connectivity.
- Customers have minimal and basic knowledge of English language.
- Customers have internet connection.
- Customers are familiar with web browsing. Post condition:
- Successful: Customers can check the product categories
- Successful: Customers can check the special offers
- Unsuccessful: Customers cannot access product categories.
- Unsuccessful: Customers cannot access to the site due to network traffic.
- Unsuccessful: Customers have internet issues.
- Exception: Stay in the same page if possible.
Title: Shopping Time
Actor: Customer
Scenario:
- Customer will see an option named “Shopping Time” where they will be able to see time slots for shopping.
- Customers will see an option for time duration for normal days.
- Customers will see an option for time duration during shutdown.
- Customers will see an option for time duration on holidays. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Customers have a device with internet connectivity.
- Customers have minimal and basic knowledge of English language.
- Customers have internet connection.
- Customers are familiar with web browsing. Post condition:
- Successful: Customers can check the shopping timing
- Successful: Customers can check the time duration for normal days.
- Successful: Customers can check the time duration during shutdown.
- Successful: Customers can check the time duration on holidays.
- Unsuccessful: Customers cannot access shopping timing.
- Unsuccessful: Customers cannot access to the site due to network traffic.
- Unsuccessful: Customers have internet issues.
- Exception: Stay in the same page if possible.
Title: Availability of Products, Due Orders, Order History, Rating and Review of Customers and Deliverymen
Actor: Owner
Scenario:
- Owners will see an option named “Availability of Products” to check if any product is available or not.
- Owners will see an option to check due orders.
- Owners will see an option to check order history.
- Owners will see an option to check ratings and reviews history of customers and deliverymen.
Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Owners have a device with internet connectivity.
- Owners have minimal and basic knowledge of English language.
- Owners have internet connection.
- Owners are familiar with web browsing. Post condition:
- Successful: Owners can check the availability of products.
- Successful: Owners can check the due orders.
- Successful: Owners can check the order history.
- Successful: Owners can check the ratings and reviews of customers and deliverymen.
- Unsuccessful: Owners cannot access the availability of products.
- Unsuccessful: Owners cannot access to the site due to network traffic.
- Unsuccessful: Owners have internet issues.
- Exception: Stay in the same page if possible.
Title: Add, Delete and Update Item
Actor: Owner
Scenario:
- Owners will see an option named “Add Items” to add new items.
- Owners will get “Delete Items” option.
- Owners will get option to update features. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Owners have a device with internet connectivity.
- Owners have minimal and basic knowledge of English language.
- Owners have internet connection.
- Owners are familiar with web browsing. Post condition:
- Successful: Owners can add items.
- Successful: Owners can delete items.
- Successful: Owners can update features
- Unsuccessful: Owners cannot access the add items, delete items or update option.
- Unsuccessful: Owners cannot access to the site due to network traffic.
- Unsuccessful: Owners have internet issues.
- Exception: Stay in the same page if possible.
Title: Payment Method
Actor: Customer
Scenario:
- Customers will see payment method option to choose their desired payment method.
- Customers will see “Cash on Deliver” option.
- Customers will see “bKash” option.
- Customers will see “Credit or Debit Card” option.
- Customers will see options to fulfill their payment through bkash or cards. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error.
- Incorrect phone number, pin number or total amount.
- Incorrect card number, expiry date or CVC. Precondition:
- Customers have a device with internet connectivity.
- Customers have minimal and basic knowledge of English language.
- Customers have internet connection.
- Customers are familiar with web browsing. Post condition:
- Successful: Customers can check the payment methods.
- Successful: Customers can choose their desired payment method.
- Unsuccessful: Customers cannot access payment methods.
- Unsuccessful: Customers cannot access to the site due to network traffic.
- Unsuccessful: Customers have internet issues.
- Exception: Stay in the same page if possible.
Title: Pick Nearest Deliveryman
Actor: Owner
Scenario:
- Owners will see an option named “Nearest Deliveryman” to check nearest deliveryman. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Owners have a device with internet connectivity.
- Owners have minimal and basic knowledge of English language.
- Owners have internet connection.
- Owners are familiar with web browsing. Post condition:
- Successful: Owners can check nearest deliveryman.
- Unsuccessful: Owners cannot access nearest deliveryman.
- Unsuccessful: Owners cannot access to the site due to network traffic.
- Unsuccessful: Owners have internet issues.
- Exception: Stay in the same page if possible.
Title: Accept or Cancel Any Order
Actor: Deliveryman
Scenario:
- Deliverymen will see option to accept any order.
- Deliverymen will see option to cancel any order. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Deliverymen have a device with internet connectivity.
- Deliverymen have minimal and basic knowledge of English language.
- Deliverymen have internet connection.
- Deliverymen are familiar with web browsing. Post condition:
- Successful: Deliverymen can accept order.
- Successful: Deliverymen can cancel order.
- Unsuccessful: Deliverymen did not get confirmation message.
- Unsuccessful: Deliverymen cannot access to the site due to network traffic.
- Unsuccessful: Deliverymen have internet issues.
- Exception: Stay in the same page if possible.
Title: Order Details
Actor: Customer
Scenario:
- Customers will see “Cancel Order” option to cancel their order.
- Customers will get option to see their order status.
- Customers will get option to see their order history.
- Customers will get option to rate the shop and deliveryman. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Customers have a device with internet connectivity.
- Customers have minimal and basic knowledge of English language.
- Customers have internet connection.
- Customers are familiar with web browsing. Post condition:
- Successful: Customers can cancel orders.
- Successful: Customers can check order status.
- Successful: Customers can check order history.
- Successful: Customers can rate shop and deliveryman.
- Unsuccessful: Customers cannot cancel order, cannot check order status and history, cannot rate deliveryman and shop.
- Unsuccessful: Customers cannot access to the site due to network traffic.
- Unsuccessful: Customers have internet issues.
- Exception: Stay in the same page if possible.
Title: Details of Customer and Deliveryman
Actor: Customer and Deliveryman
Scenario:
- Customers will have option to see details of the deliveryman.
- Deliverymen will have option to see details of the customer. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Customers have a device with internet connectivity.
- Deliverymen have a device with internet connectivity.
- Customers and deliverymen have minimal and basic knowledge of English language.
- Customers and deliverymen have internet connection.
- Customers and deliverymen are familiar with web browsing. Post condition:
- Successful: Customers can see details of deliveryman.
- Successful: Deliverymen can see details of customer.
- Unsuccessful: Customers or deliverymen cannot see each other’s details.
- Unsuccessful: Customers or deliverymen cannot access to the site due to network traffic.
- Unsuccessful: Customers or deliverymen have internet issues.
- Exception: Stay in the same page if possible.
Title: Log Out
Actor: Customer, Owner, Deliveryman
Scenario:
- Customers, owners or deliverymen will see an option to log out from the site. Exception:
- The server cannot control too many sever request at a time.
- Too much user at a same time can cause server traffic.
- User Input error. Precondition:
- Customers have a device with internet connectivity.
- Owners have a device with internet connectivity.
- Deliverymen have a device with internet connectivity.
- Customers, owners and deliverymen have minimal and basic knowledge of English language.
- Customers, owners and deliverymen have internet connection.
- Customers, owners and deliverymen are familiar with web browsing. Post condition:
- Successful: Customers, owners, deliverymen can log out.
- Unsuccessful: Customers, owners, deliverymen cannot log out.
- Unsuccessful: Customers, owners, deliverymen cannot log out from the site due to network traffic.
- Unsuccessful: Customers, owners, deliverymen have internet issues.
- Exception: Stay in the same page if possible.