User Story 1: Home Page
The Customer visits the home page and reviews the listed popular categories along with the list of featured products. The Buyer is also able to search catalog for product they wants to buy and is able to navigate other pages of store.
Use Case:
Use Case Name | Home Page |
Actor | Customer (Anonymous/Registered) |
Description | The User can click on the web url for the e-store and can view the home page of the store. |
Trigger | User visits the OFBiz e-commerce store. |
Precondition | NA |
Basic Path |
|
Post-condition | The User is able to access OFBiz e-commerce store home page. |
User Story 2: Login Page
Customer navigates to Login page and logs into their account or can register itself as a new customer. Customer can also place a request to change password if the existing one is forgotten/lost.
Use Case:
Use Case Name | Login Page |
Actor | Customer (Anonymous/Registered) |
Description | The existing user logs in into the system and the anonymous user is provided with the option to register. |
Trigger | User wants to register on the OFBiz e-commerce store. |
Precondition | User should have accessed the e-commerce store. |
Basic Path 1 |
|
Basic Path 2 |
|
Basic Path 3 |
|
Post-condition | User is able to access account, create account and retrieve password. |
User Acceptance Test Cases:
EC-LP-TC1 (Register a new Customer):
Instructions | Expected results | Actual results | Pass/Fail |
Click on "Login" link of Ecommerce Home Page. | Login page with "Register User" and "Forgot Your Password" sections should be rendered successfully. | Working as expected. | Pass |
In the "Register User" section click on "Create" link. | User should be redirected to "Request a New Account" page. | Working as expected. | Pass |
Enter all the mandatory values and click on [Save] button. | User should be registered and Logged in to the system successfully and should be redirected to Home page. | Working as expected. | Pass |
Click on "Logout" link of Home Page. | User should be logged out from account successfully. | Working as expected. | Pass |
EC-LP-TC2 (Login for a Registered or Existing customer):
Instructions | Expected results | Actual results | Pass/Fail |
Click on "Login" link of Ecommerce Home Page. | Login page with "Register User" and "Forgot Your Password" sections should be rendered successfully. | Working as expected. | Pass |
Enter invalid User Name and Password in the Login form and click on [Login] button. | An Error “User not found.” should be populated on screen. | Working as expected. | Pass |
Enter valid User Name and Password in the Login form and click on [Login] button. | User should be successfully logged into the account and redirected to Home page. | Working as expected. | Pass |
Click on "Logout" link of Home Page. | User should be logged out from account successfully. | Working as expected. | Pass |
EC-LP-TC3 (Request for a Change Password or Forgot Your Password):
Instructions | Expected results | Actual results | Pass/Fail |
Click on "Login" link of Ecommerce Home Page. | Login page with "Register User" and "Forgot Your Password" sections should be rendered successfully. | Working as expected. | Pass |
Enter valid registered user name in forgot your password form and click on [Email Password] button. | User should receive an email. | Working as expected. | Pass |
User Story 3: Category Navigation
The customer visits all main categories in navigation bar, a main category will have one or more child categories. User easily navigates through category in a hierarchy.
Use Case:
Use Case Name | Category Navigation |
Actor | Customer (Anonymous/Registered) |
Description | The User can search through category pages for the desired product on the store. |
Trigger | User searches product basis of category. |
Precondition | User should have already accessed the eCommerce store. |
Basic Path |
|
Post-condition | User is able to navigate to products via category. |
User Acceptance Test Cases:
EC-CN-TC1 (Home Page Landing):
Instructions | Expected results | Actual results | Pass/Fail |
Enter home page URL (ecommerce/control/main) in browser | e-commerce home page should be rendered successfully. | Working as expected. | Pass |
EC-CN-TC2 (Category and Members):
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-CN-TC1 | EC-CN-TC1 should be run successfully. | Working as expected. | Pass |
Click on + icon near by category name in category section . | Corresponding sub categories should be opened. | Working as expected. | Pass |
Click on any category | Products in category should be listed. | Working as expected. | Pass |
User Story 4: Product Search
User can search for desired products from the available list. All the products found would be displayed in list along with pagination toolbar. User is able to directly add products into cart from search page, after adding one item to the shopping cart, user can proceed further adding more items to the cart.
Use Case:
Use Case Name | Product Search |
Actor | Customer (Anonymous/Registered) |
Description | Buyer searches the product from the available list and add multiple products to the cart. |
Trigger | User searches products. |
Precondition | User should have already accessed the eCommerce store. |
Basic Path |
|
Post-condition | System will display the product list based on searched criteria. |
User Acceptance Test Cases:
EC-PS-TC1(Home Page Landing):
Instructions | Expected results | Actual results | Pass/Fail |
Open OFBiz URL [base-url/ecommerce/control/main] in browser. | e-commerce home page should be rendered successfully. | Working as expected. | Pass |
EC-PS-TC2 (Product Search from Catalog Search section):
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-PS-TC1 | Test Case EC-PS-TC1 should run successfully. | Working as expected. | Pass |
Give the keyword in text field under “Search Catalog” Section, check [Any] and click on [Find] button. | System should return list of products if any of the keywords match with the product. | Working as expected. | Pass |
Give the keyword in text field under “Search Catalog” Section, check [All] and click on [Find] button. | System should return list of products if all of the keywords match with the product. | Working as expected. | Pass |
EC-PS-TC3 (Advanced Product Search):
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-PS-TC1 | Test Case EC-PS-TC1 should be run successfully. | Working as expected. | Pass |
Click on [Advanced Search] button. | User will be redirected to Advanced Search Page. | Working as expected. | Pass |
Search the product according to the advanced search features given on the page. | System should return list of products matches the search criteria. | Working as expected. | Pass |
EC-PS-TC4 (Pagination with Search Result):
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-PS-TC3 | Test Case EC-PS-TC3 should be run successfully. | Working as expected. | Pass |
Click on [Next] link of pagination. | User will be a given a list of matched products on the next page. | Working as expected. | Pass |
Click on [Previous] link. | User will be a given a list of matched products on the previous page. | Working as expected. | Pass |
Click on dropdown and select any page to go directly on it. | User will be a given a list of matched products of the Page No. selected by him. | Working as expected. | Pass |
User Story 5: Product Page
The customer visits the Product page and reviews Product image, Product description, Price, Product reviews along with related products. User is able to add product into cart with desired features and quantity.
Use Case:
Use Case Name | Product Page |
Actor | Customer (Anonymous/Registered) |
Description | Buyer reviews the product details and add the product to the cart. |
Trigger | User takes details of product and add into cart. |
Precondition | User should have already accessed the eCommerce store. |
Basic Path |
|
Post-condition | Product is added into cart. |
User Story 6: Login and Update Personal Information
User can log in from Login Page and with Profile page user updates personal information such as Name, E-mail address and Password. Also Adds/Updates Shipping and Billing information.
Use Case:
Use Case Name | Login and Update Personal Information |
Actor | Customer |
Description | Registered User logs in into the system and update the personal information. |
Trigger | User manages the account. |
Precondition | User should have already accessed the eCommerce store. |
Basic Path |
|
Alternative Path 1 | If user only want to update contact information then can directly follow step 9. |
Post-condition | User is able to update account information. |
User Acceptance Test Cases:
EC-LUPI-TC1 (User Login to the system and access of “Profile” page):
Instructions | Expected results | Actual results | Pass/Fail |
Click on "Login" link of Ecommerce Home Page. | Login page with "Register User" and "Forgot Your Password" sections should be rendered successfully. | Working as expected. | Pass |
Enter valid User Name and Password in the Login form and click on [Login] button. | User should be successfully logged into the account and redirected to Home page. | Working as expected. | Pass |
Click on “Profile” link on the top right of the page. | System should display the profile page (View Profile) of the customer and all the details like Personal Information, Contact Information, Payment Method Information, UserName and Password sections should be rendered successfully. | Working as expected. | Pass |
EC-LUPI-TC2 (Update “Personal Information” of user):
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-LUPI-TC1 | EC-LUPI-TC1 should run successfully. | Working as expected. | Pass |
Click on the 'Update' link of the Personal Information section. | “Edit Personal Information” screen should be rendered. | Working as expected. | Pass |
Update the personal information and click on [Save] button. | System should update the user information successfully and display success message “Person successfully updated.” | Working as expected. | Pass |
EC-LUPI-TC3 (Create a new “Contact Information” of user):
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-LUPI-TC1 | EC-LUPI-TC1 should run successfully. | Working as expected. | Pass |
Click on the 'Create New' link of the Contact Information section. | “Create New Contact Information” screen should be rendered. Here “Select Contact Type” drop down should also be displayed from where user can add different types of contact information. | Working as expected. | Pass |
Select any contact type (Postal Address, Phone Number, Electronic Address etc.) and add details in form and click on [Save] button. | System should save the details of user in system. | Working as expected. | Pass |
EC-LUPI-TC4 (Update Contact Information of user):
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-LUPI-TC1 | EC-LUPI-TC1 should run successfully. | Working as expected. | Pass |
Click on the [Update] button of the Contact Information section for any Contact Type (Postal Address, Email Address etc.) | “Edit Contact Information” screen should be rendered. | Working as expected. | Pass |
Update the contact information like address, phone no or email address and clicks on [Save] button. | System should update the contact information successfully and display and success message to user. | Working as expected. | Pass |
User Story 7: Shopping Cart
Customer Adds/Updates/Removes items from shopping cart. Customer is able to update the quantity of items and also able to apply promo code if any.
Use Case:
Use Case Name | Shopping Cart Page |
Actor | Customer |
Description | User can finalize the shopping cart with details required. |
Trigger | User manages shopping cart. |
Precondition | User should have already accessed the eCommerce store. |
Basic Path |
|
Alternative Path 1 | If user does not have any promo code then, can skip step 4. |
Alternative Path 2 | If user only wants to remove item then can directly follow step 6. |
Post-condition | Items gets updated and deleted successfully. |
User Story 8: Checkout Page
On checkout page Customer adds Personal information, Adds/Updates Shipping and Billing information, chooses Payment Method(Either CC, COD, Internet Banking or Paypal), selects shipping method and submits the order.
Use Case:
Use Case Name | Checkout Page (Registered + Anonymous ) Customer |
Actor | Customer |
Description | User fills in all the required details and make a purchase online. |
Trigger | User visits the Front Store. |
Precondition | User should have already accessed the eCommerce store. |
Basic Path |
|
Post-condition | Order is placed successfully. |