Repository navigation
Extended Use Case
Asif-Dewan edited this page Aug 13, 2021
·
7 revisions
Actor: Farmers, Dealers and Admin
Scenario:
- Farmers, Dealers and Admin want to use the webpage
- Enter their username and password
- Press login button
- Save ID and password.
- Remember password.
Exception:
- User is not registered.
- Required page not found.
Precondition:
- URL of login page from web browser.
- Farmers and Dealers are registered
- Farmers and Dealers have a device with internet connectivity
- Admin can directly log into the webpage
- Admin can change admin’s information or assign a new admin.
Post Condition:
- Successful: Farmers, Dealers, Admin logging into the system
- Unsuccessful: Due to network error or internet connectivity Farmers, Dealers and Admin are unable to log in.
- Exception: Redirect the unregistered users to the register page.
Actor :Farmers, Dealers
Scenario:
- Input User name, ID, password, confirm password, phone number, address, role, NID and email .
- Check User ID unique or not.
- Store account into database.
- Farmers can sell their products by registering themselves.
- Dealers can buy products by registering themselves.
Exception:
- Required page not found
- If the entered fields are not correct
- An error message will be displayed(fill each field with correct data)
- Redirect the registration page with error message
Precondition:
- URL of "Registration" hyperlink page
- Farmer and dealers must have valid and current physical address, full name, ID, password, phone number, role, NID and email
- Farmers and dealers have a device with internet connectivity
Post Condition:
- Successful: After providing all details, the Farmer should be provided secure access to the webpage by means of some Login credentials.
- Unsuccessful: Stay in same page, don't create any user account by showing error massage
- Exception: Stay in same page if possible.
Actor: Farmers, Dealers
Scenario:
- Farmers post their products into the marketplace.
- Farmers add a recent good quality picture of the crop.
- Farmers inputs the price per unit in BDT. 4 Dealers add desired products into the cart. 5 System displays all the available products.
Exception:
- Required page not found.
- An error message will be displayed if the product is not available.
Precondition:
- URL of "Marketplace" page from web browser.
- Farmers and Dealers are registered
- Farmers and Dealers have a device with internet connectivity
- Farmers and Dealers are familiar with the interface.
Post Condition:
- Successful: Page has been loaded successfully.
- Unsuccessful: Due to network error or internet connectivity Farmers, Dealers and Admin are unable to view products.
- Exception: Staying in the same page.
Actor: Dealers, System
Scenario:
- Dealers search their desired products from the marketplace.
- System validates the dealers request.
- System displays the product.
Exception:
- Required page not found.
- An error message will be displayed if the product is not available.
Precondition:
- URL of "Marketplace" page from web browser.
- Farmers and Dealers are registered
- Farmers and Dealers have a device with internet connectivity
- Farmers and Dealers are familiar with the interface.
Post Condition:
- Successful: Searched product has been found.
- Unsuccessful: Due to network error or internet connectivity Farmers, Dealers and Admin are unable to view products.
- Exception: Staying in the same page.
Actor : User , Admin
Scenario :
- User have to add products to cart to proceed to order.
- User have to set quantity to get total price.
- User can remove from cart.
- User have to input Name, Phone number and Address as shipping details.
- User have to confirm order to proceed.
- Admin can see created.
Exception :
- Required page not found.
- If the entered fields are not correct or empty.
- An error message will be displayed (fill each field with correct data).
- Redirect order page with error message.
Precondition :
- Users should have devices that support internet service.
- Users should have internet connection.
- User have to register on the system.
- User have to logged into the system for ordering.
Post Condition :
- Successful : After providing all details, the user will get to see confirmation window.
- Unsuccessful : Stays in same page, indicating errors.
- Exception : Stay in same page if possible.
Actor : User, system
Scenario :
- Users will add any item to a cart.
- Users will remove any unnecessary items from the cart.
- Users can preview their cart at anytime.
- Users can clear all the items from their cart.
- Users will be able to see the individual prices of the crops and the total net price.
- System updates the cart.
Exception :
- Required page not found.
- User not registered.
Precondition :
- User must be registered
- Users should have devices that support internet service.
- Users should have internet connection.
- User must be capable of understanding English.
Post Condition :
- Successful : System updated the cart successfully.
- Unsuccessful : Due to system error or internet connectivity cart is not updated
- Exception : Stay in same page if possible.
Actor : User , Admin
Scenario :
- User can read blogs.
- Admin can post blogs.
- Admin can edit, delete blogs.
Exception :
- Required page not found.
- An error message will be displayed if the blog is not available.
- Redirect to blog page starting with error message.
Precondition :
- Users should have devices that support internet service.
- Users should have internet connection.
- Admin must post readable blogs.
Post Condition :
- Successful : User can read blogs.
- Unsuccessful : User will get errors and push back to starting page.
- Exception : Stay in same page.