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
![HomePage.jpg](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
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 | - The User (registered/anonymous) clicks on the OFBiz e-commerce store url.
- System displays main page of retail store.
- User lands on to the home page having header, categories navigation, list of featured products, catalog search and various navigation buttons with tool bars.
|
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. | - E-commerce home page should be rendered.
- User should be able to see main page containing various features and functionalities.
- User should be able to see header on home page.
- User should be able to see categories navigation on home page.
- User should be able to see list of featured product on home page.
- User should be able to see catalog search on home page.
- User should be able to see various navigation buttons and toolbars on home page.
| 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
![LoginPage.jpg](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
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
| - User clicks on 'Login' link on home page.
- System displays Login page having ''Register User'' and ''Forgot Your Password'' sections.
- In the Register User section user clicks on 'Create Account' link.
- User is navigated to a request for a New Account page.
- User enters all mandatory values and click on [Save] button.
- User is registered successfully and directs to My Account page.
- Then clicks on log-out link.
- User logs out from his/her account successfully.
|
Basic Path 2
| - User clicks on 'Login' link on home page.
- User enters valid user name and password in the Login form and click on [Login] button.
- User successfully logs in into the account.
- User clicks on 'Log-out' link.
- User logs out from the account successfully.
|
Basic Path 3
| - User clicks on 'Login' link on home page.
- User enters valid registered user name in forgot password form and click on [Email Password] button.
- User will be successfully able to reset his/her password.
|
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 |
Enter valid registered user name in forgot your password form and click on [Email Password] button. | - User should receive an email.
- User should be able to reset password.
| 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
![NavigateCategories.jpg](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
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 | - User clicks on any of the category mentioned in the popular categories section.
- System displays the products of selected category.
- System navigates user to respective category's product page.
|
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 |
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.
- Product listed count should be match with category members.
- Pagination should work properly.
- Product details should be display properly.
| 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
![ProductSearch.jpg](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
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 | - User enters the keyword(product name or id) in search field of Search Catalog section and click on [Find] button.
- System displays the list of products with matching criteria.
- User can navigate to the next page for matching searched results.
- User can also add the products into shopping cart from the searched results.
|
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 |
Run EC-PS-TC3 | EC-PS-TC3 should be run successfully. | Working as expected. | Pass |
Click on [Next] link of pagination. | - System should return list of products on the next page.
- Next page products should also pass search criteria.
| Working as expected. | Pass |
Click on [Previous] link. | - System should return list of products on the previous page.
- Previous page products should also pass search criteria.
| Working as expected. | Pass |
Click on dropdown and select any page to go directly on it. | - System should return list of products of the Page No. selected by him.
- Result should pass search criteria.
| 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
![ProductPage.jpg](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
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 | - System displays the Product Page.
- User can see the product description, price, reviews and cross sell (recommended) products.
- User selects the product, enters quantity and clicks on [Add to Cart] button.
- System adds the product into cart successfully.
|
Post-condition | Product is added into cart. |
User Acceptance Test Cases
EC-PP-TC-1 (Product page landing)
...
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. | - User should be redirected to Product Review Page.
- User should be able to add reviews for product.
| Working as expected. | Pass |
User clicks on [Tell-A-Friend] button. | - User should be redirected to Refer-A-Friend Page.
- User should be able to refer to a friend.
| Working as expected. | Pass |
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
![UserInfomation.jpg](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
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 | - System displays the Home page and User clicks on 'Login' link.
- User enters valid email and password in Registered User Login section.
- User logs into the account successfully.
- User clicks on 'profile' link on the top right of the page.
- System displays the profile page of the customer.
- User clicks the 'update' link in the personal information section.
- User updates the personal information and clicks on [Save] button.
- System updates the user information successfully.
- User clicks on [Update] button in Contact Information section.
- System navigates user to 'Edit Contact Information' page.
- User updates the contact information like address, phone no or email address and clicks on [Save] button.
- System updated the contact information successfully.
- User can update 'Payment Method Information' and 'User Name & Password' similarly.
|
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 |
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
![ShoppingCart.jpg](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
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 | - System displays the shopping cart page.
- User changes the quantity of product.
- System updates the quantity of product successfully on submit the order.
- User enter the promotion code details (if any).
- Promotion is applied successfully.
- User select the checkbox of cart items and clicks on 'Remove Selected' link.
- System removes the item from the shopping cart.
|
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 | - User should be able to see the item added to the cart.
- User should see cart line contains the product information (image, name description), quantity, unit price, adjustments, and item total.
- User should see the cart sub total, adjustments, and cart total.
- User should see the promotions, special offers and cross sell on below cart.
- User should be able to apply promotion code if any available and avail the promotion in the cart.
- User should be able to add more items to cart with product number provided.
| 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] | - User should be able to update the quantity in cart lines and recalculate the cart after selecting the items thru check box.
- After clicking on recalculate cart all information in the cart like quantity, adjustments, item total should be updated correctly.
- Also all information in the cart like cart sub total, adjustments, and cart total should be updated correctly.
- System should also remove/apply adjustments as per the quantity change.
| 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] | - User should be able to remove cart lines after selecting the items thru check box.
- After clicking on remove selected item should be removed from cart.
- System should also remove/apply adjustments as per the existing items in the cart.
- If items removed from cart then your shopping cart empty message should be display.
| 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
Image Added
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 | - 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.
|
Post-condition | Order is placed successfully. |
User Acceptance Test Cases
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. | - User should be redirected to login page or may select anonymous checkout by clicking on checkout.
- In either case user should redirected to checkout page.
| Working as expected. | Pass |
User login or click on [Checkout] link again or provide login information. | - User should be able to proceed further and land to personal information page.
- For logged in user all personal information should be prepopulated if exists in the system. For anonymous user needs to provide all information.
- Click on continue button should take user to shipping information section.
- At any point before submitting the order user should be able to edit the personal information.
| Working as expected. | Pass |
User provides the personal information or edit the personal information and click on continue/next. | - User should be able to proceed further and land to shipping information page.
- For logged in user all personal information should be prepopulated if exists in the system. For anonymous user needs to provide all information.
- Click on continue button should take user to shipping options section.
- At any point before submitting the order user should be able to edit the shipping information.
| Working as expected. | Pass |
User provides the shipping options and click on continue/next. | - User should be able to proceed further and land to shipping options page.
- User (Anonymous/Logged in) should be able to select shipping method, split shipping options, gift and add shipping notes.
- Click on continue button should take user to payment options section.
- At any point before submitting the order user should be able to edit the shipping options.
| Working as expected. | Pass |
User provides the payment options and click on continue/next. | - User should be able to proceed further and land to payment options page.
- User (Anonymous/Logged in) should be able to select payment method and add edit the payment information.
- Click on continue button should take user to payment information section.
- At any point before submitting the order user should be able to edit the payment options.
- User should be able to add credit card, eft account information as required.
| Working as expected. | Pass |
User provides payment options and payment information and click on continue/next/finalize order. | - User should be able to proceed further and land to order confirmation page.
- User (Anonymous/Logged in) should be able see all the information provided in the last steps.
- Click on submit order button should take user order view page and successfully place the order.
- User should be able to see the order view page, with all the information provided during the checkout.
- User should receive order confirmation email to the email address provided during checkout.
| 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. | - User should be redirected to login page or may select anonymous checkout by clicking on quick checkout.
- In either case user should redirected to checkout page.
| Working as expected. | Pass |
User login or click on [Quick Checkout] link again or provide login information. | - User should be able to proceed further and land to quick checkout page.
- Logged in user all information like Name Phone and Email, shipping address, billing address should be prepopulated if exists in the system. Anonymous user needs to provide all information.
- Logged in user needs to select shipping options, payment options and click on continue to final order review. Anonymous user needs to provide information and click on continue.
- At any point before submitting the order user should be able to edit the 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) | - User should be able to proceed further and land to final order submit step.
- Logged in user should see the all the information provided in the last step and submit order button.
- Anonymous user should see the all information and options to select shipping and payment with submit order button.
| Working as expected. | Pass |
User provides payment options and shipping options and click on submit order. | - User should be landed to order view page and successfully place the order.
- User should be able to see the order view page, with all the information provided during the checkout.
- User should receive order confirmation email to the email address provided during checkout.
| Working as expected. | Pass
|
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
Image Removed
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 | - 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.
|
Post-condition | Order is placed successfully. |
User Acceptance Test Cases
EC-CP-TC1 (
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. | - User should be redirected to login page or may select anonymous checkout by clicking on one page checkout.
- In either case user should redirected to one page checkout page.
| Working as expected. | Pass |
User login or click on [Quick Checkout] link again or provide |
login information.- User should be able to proceed further and land to personal information page.
- For logged in user all personal information should be prepopulated if exists in the system. For anonymous user needs to provide all information.
- Click on continue button should take user to shipping information section.
- At any point before submitting the order user should be able to edit the personal information.
| Working as expected. | Pass | login information. | - User should be able to proceed further and land to one page checkout page.
- Default open step 1 should show shopping cart information.
- User should be able to review and continue to step 2.
| Working as expected. | U |
User click on [continue to step 2] |
User provides the personal information or edit the personal information and click on continue/next. | - User should be able to proceed further and
|
land to shipping information page- open the step 3 Shipping Options section.
|
For logged - Logged in user should see the all
|
personal should be prepopulated For anonymous - Anonymous user needs to provide all the shipping information in step 2.
|
Click on continue button should take user to shipping options section.- At any point before submitting the order user should be able to edit the shipping information.
| Working as expected. |
Pass provides the shipping options and continue/next.[continue to step 3] | - User should be able to proceed further and
|
land to shipping options page- open the step 3 Shipping Options section.
- User
|
(Anonymous/Logged in) - should be able to select shipping method
|
, split shipping options, gift and add shipping notes.Click on continue button should take user to payment options section- and proceed further.
- At any point before submitting the order user should be able to edit the shipping options.
| Working as expected. | Pass
|
User |
provides the payment options and continue/next.[continue to step 4] | - User should be able to proceed further and
|
land to payment options page- open the step 4 Billing section.
- Logged in user should see the all the billing information if exists in the system.
- User
|
(Anonymous/Logged in) payment method and add edit the payment information.Click on continue button should take user to payment information section- add credit card and billing address information.
- At any point before submitting the order user should be able to edit the
|
payment options.User should be able to add credit card, eft account information as required | Working as expected. | Pass |
User |
provides payment options and payment information and continue/next/finalize order. proceed further and land to order confirmation page- see all the information provided in all previous steps.
- User
|
(Anonymous/Logged in) see - to edit all the information
|
provided in the last stepsClick on - User should be able to see the submit order button
|
should take user order view page and successfully | Working as expected. | Pass |
User click on [Submit Order] | - User should be able to place the order successfully.
- User should be able to see the order view page, with all the information provided during the checkout.
- User should receive order confirmation email to the email address provided during checkout.
| Working as expected. | Pass |