Table of Contents |
---|
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 Acceptance Test Cases
EC-HP-TC-1 (Home page landing)
Instructions | Expected results | Actual results | Pass/Fail |
Browse [base-url/ecommerce/control/main] in browser. |
| Working as expected. | Pass |
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. |
| 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 |
| 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 |
| 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. |
| Working as expected. | Pass |
...
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-PS-TC1 | Test Case EC-PS-TC1 should be 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. |
| Working as expected. | Pass |
Search the product according to the advanced search features given on the page. |
| 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. |
| Working as expected. | Pass |
Click on [Previous] link. |
| Working as expected. | Pass |
Click on dropdown and select any page to go directly on it. |
| 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
...
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.
...
Acceptance Test Cases
EC-PP-TC-1 (Product page landing)
Instructions | Expected results | Actual results | Pass/Fail |
User clicks on any product from Home Page, Category Navigation Page, Product Search Page, Shopping Cart Page or Checkout Page. |
| Working as expected. | Pass |
EC-PP-TC-2 (Add to Cart)
Instructions | Expected results | Actual results | Pass/Fail |
Run Test Case EC-PP-TC-1 | EC-PP-TC-1 should be run successfully. | Working as expected. | Pass |
User adds the quantity of product to purchase in the text field. | The quantity should be added successfully. | Working as expected. | Pass |
User clicks on [Add to Cart] button. | The product should be added to cart successfully. | Working as expected. | Pass |
EC-PP-TC-3 (Product Review & Refer Product to Friend)
Instructions | Expected results | Actual results | Pass/Fail |
Run Test Case EC-PP-TC-1 | EC-PP-TC-1 should be run successfully. | Working as expected. | Pass |
User clicks on [Be the first to review this product !] button or [Review This Product !!] button to review a product. |
| Working as expected. | Pass |
User clicks on [Tell-A-Friend] button. |
| 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
...
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
...
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.
...
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 Acceptance Test Cases
EC-SC-TC1 (Add to cart)
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-HP-TC-1, EC-PP-TC-2 | EC-HP-TC-1, EC-PP-TC-2 should be run successfully. | Working as expected. | Pass |
User click on [View Cart] link from top nav |
| Working as expected. | Pass |
EC-SC-TC2 (Recalculate cart)
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-HP-TC-1, EC-PP-TC-2 | EC-HP-TC-1, EC-PP-TC-2 should be run successfully. | Working as expected. | Pass |
User click on [Recalculate Cart] |
| Working as expected. | Pass |
EC-SC-TC3 (Remove cart items)
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-HP-TC-1, EC-PP-TC-2 | EC-HP-TC-1, EC-PP-TC-2 should be run successfully. | Working as expected. | Pass |
User click on [Remove Selected] |
| Working as expected. | Pass |
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. |
User Acceptance Test Cases
EC-CP-TC1 (Checkout)
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-HP-TC-1, EC-PP-TC-2 | EC-HP-TC-1, EC-PP-TC-2 should be run successfully. | Working as expected. | Pass |
User click on [Checkout] link appear on shopping cart or nav bar or mini cart. |
| Working as expected. | Pass |
User login or click on [Checkout] link again or provide login information. |
| Working as expected. | Pass |
User provides the personal information or edit the personal information and click on continue/next. |
| Working as expected. | Pass |
User provides the shipping options and click on continue/next. |
| Working as expected. | Pass |
User provides the payment options and click on continue/next. |
| Working as expected. | Pass |
User provides payment options and payment information and click on continue/next/finalize order. |
| Working as expected. | Pass |
EC-CP-TC2 (Quick Checkout)
Instructions | Expected results | Actual results | Pass/Fail |
Run EC-HP-TC-1, EC-PP-TC-2 | EC-HP-TC-1, EC-PP-TC-2 should be run successfully. | Working as expected. | Pass |
User click on [Quick Checkout] link appear on shopping cart or nav bar or mini cart. |
| Working as expected. | Pass |
User login or click on [Quick Checkout] link again or provide login information. |
| Working as expected. | Pass |
User provides all order information on single page and click on continue (anonymous user) / continue to final order review (logged in user) |
| Working as expected. | Pass |
User provides payment options and shipping options and click on submit order. |
| Working as expected. | Pass |
EC-
...
CP-
...
TC3 (One Page Checkout)
Instructions | Expected results | Actual results | Pass/Fail |
Run EC- |
...
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.
...
HP-TC-1, EC-PP-TC-2 | EC-HP-TC-1, EC-PP-TC-2 should be run successfully. | 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
...
- System displays the Shopping cart page.
- User clicks on any of the checkout link given at top right of the page.
- System displays the Checkout page according to the selected link.
- In case of anonymous user checkout, user fills all information such as personal information, shipping information, billing information, selects shipment method, add payment method(CC) and clicks on [Submit Order] button.
- In case of registered user checkout, User selects the shipping address, payment option, shipment method and clicks on [Submit Order] button.
- System places the order successfully.
User click on [Quick Checkout] link appear on shopping cart or nav bar or mini cart. |
| Working as expected. | Pass |
User login or click on [Quick Checkout] link again or provide login information. |
| Working as expected. | U |
User click on [continue to step 2] |
| Working as expected. | Pass3 |
User click on [continue to step 3] |
| Working as expected. | Pass |
User click on [continue to step 4] |
| Working as expected. | Pass |
User click on [continue to step 4] |
| Working as expected. | Pass |
User click on [Submit Order] |
| Working as expected. | Pass |
...