Skip to content

Extended Use Case

Asif-Dewan edited this page Aug 13, 2021 · 7 revisions

Title: Login

Actor: Farmers, Dealers and Admin

Scenario:

  1. Farmers, Dealers and Admin want to use the webpage
  2. Enter their username and password
  3. Press login button
  4. Save ID and password.
  5. Remember password.

Exception:

  1. User is not registered.
  2. Required page not found.

Precondition:

  1. URL of login page from web browser.
  2. Farmers and Dealers are registered
  3. Farmers and Dealers have a device with internet connectivity
  4. Admin can directly log into the webpage
  5. Admin can change admin’s information or assign a new admin.

Post Condition:

  1. Successful: Farmers, Dealers, Admin logging into the system
  2. Unsuccessful: Due to network error or internet connectivity Farmers, Dealers and Admin are unable to log in.
  3. Exception: Redirect the unregistered users to the register page.

Title: Create New Account

Actor :Farmers, Dealers

Scenario:

  1. Input User name, ID, password, confirm password, phone number, address, role, NID and email .
  2. Check User ID unique or not.
  3. Store account into database.
  4. Farmers can sell their products by registering themselves.
  5. Dealers can buy products by registering themselves.

Exception:

  1. Required page not found
  2. If the entered fields are not correct
  3. An error message will be displayed(fill each field with correct data)
  4. Redirect the registration page with error message

Precondition:

  1. URL of "Registration" hyperlink page
  2. Farmer and dealers must have valid and current physical address, full name, ID, password, phone number, role, NID and email
  3. Farmers and dealers have a device with internet connectivity

Post Condition:

  1. Successful: After providing all details, the Farmer should be provided secure access to the webpage by means of some Login credentials.
  2. Unsuccessful: Stay in same page, don't create any user account by showing error massage
  3. Exception: Stay in same page if possible.

Title: Marketplace

Actor: Farmers, Dealers

Scenario:

  1. Farmers post their products into the marketplace.
  2. Farmers add a recent good quality picture of the crop.
  3. Farmers inputs the price per unit in BDT. 4 Dealers add desired products into the cart. 5 System displays all the available products.

Exception:

  1. Required page not found.
  2. An error message will be displayed if the product is not available.

Precondition:

  1. URL of "Marketplace" page from web browser.
  2. Farmers and Dealers are registered
  3. Farmers and Dealers have a device with internet connectivity
  4. Farmers and Dealers are familiar with the interface.

Post Condition:

  1. Successful: Page has been loaded successfully.
  2. Unsuccessful: Due to network error or internet connectivity Farmers, Dealers and Admin are unable to view products.
  3. Exception: Staying in the same page.

Title: Search For Crops

Actor: Dealers, System

Scenario:

  1. Dealers search their desired products from the marketplace.
  2. System validates the dealers request.
  3. System displays the product.

Exception:

  1. Required page not found.
  2. An error message will be displayed if the product is not available.

Precondition:

  1. URL of "Marketplace" page from web browser.
  2. Farmers and Dealers are registered
  3. Farmers and Dealers have a device with internet connectivity
  4. Farmers and Dealers are familiar with the interface.

Post Condition:

  1. Successful: Searched product has been found.
  2. Unsuccessful: Due to network error or internet connectivity Farmers, Dealers and Admin are unable to view products.
  3. Exception: Staying in the same page.

Title: ORDER

Actor : User , Admin

Scenario :

  1. User have to add products to cart to proceed to order.
  2. User have to set quantity to get total price.
  3. User can remove from cart.
  4. User have to input Name, Phone number and Address as shipping details.
  5. User have to confirm order to proceed.
  6. Admin can see created.

Exception :

  1. Required page not found.
  2. If the entered fields are not correct or empty.
  3. An error message will be displayed (fill each field with correct data).
  4. Redirect order page with error message.

Precondition :

  1. Users should have devices that support internet service.
  2. Users should have internet connection.
  3. User have to register on the system.
  4. User have to logged into the system for ordering.

Post Condition :

  1. Successful : After providing all details, the user will get to see confirmation window.
  2. Unsuccessful : Stays in same page, indicating errors.
  3. Exception : Stay in same page if possible.

Title: Add To Cart

Actor : User, system

Scenario :

  1. Users will add any item to a cart.
  2. Users will remove any unnecessary items from the cart.
  3. Users can preview their cart at anytime.
  4. Users can clear all the items from their cart.
  5. Users will be able to see the individual prices of the crops and the total net price.
  6. System updates the cart.

Exception :

  1. Required page not found.
  2. User not registered.

Precondition :

  1. User must be registered
  2. Users should have devices that support internet service.
  3. Users should have internet connection.
  4. User must be capable of understanding English.

Post Condition :

  1. Successful : System updated the cart successfully.
  2. Unsuccessful : Due to system error or internet connectivity cart is not updated
  3. Exception : Stay in same page if possible.

Title: BLOG

Actor : User , Admin

Scenario :

  1. User can read blogs.
  2. Admin can post blogs.
  3. Admin can edit, delete blogs.

Exception :

  1. Required page not found.
  2. An error message will be displayed if the blog is not available.
  3. Redirect to blog page starting with error message.

Precondition :

  1. Users should have devices that support internet service.
  2. Users should have internet connection.
  3. Admin must post readable blogs.

Post Condition :

  1. Successful : User can read blogs.
  2. Unsuccessful : User will get errors and push back to starting page.
  3. Exception : Stay in same page.

Clone this wiki locally