Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use Case NameHome Page
ActorCustomer (Anonymous/Registered)
DescriptionThe User can click on the web url for the e-store and can view the home page of the store.
TriggerUser visits the OFBiz e-commerce store.
PreconditionNA
Basic Path
  1. The User (registered/anonymous) clicks on the OFBiz e-commerce store url.
  2. System displays main page of retail store.
  3. 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-conditionThe 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 NameLogin Page
ActorCustomer (Anonymous/Registered)
DescriptionThe existing user logs in into the system and the anonymous user is provided with the option to register.
TriggerUser wants to register on the OFBiz e-commerce store.
PreconditionUser should have accessed the e-commerce store.
Basic Path 1
  1. User clicks on 'Login' link on home page.
  2. System displays Login page having ''Register User'' and ''Forgot Your Password'' sections.
  3. In the Register User section user clicks on 'Create Account' link.
  4. User is navigated to a request for a New Account page.
  5. User enters all mandatory values and click on [Save] button.
  6. User is registered successfully and directs to My Account page.
  7. Then clicks on log-out link.
  8. User logs out from his/her account successfully.
Basic Path 2
  1. User clicks on 'Login' link on home page.
  2. User enters valid user name and password in the Login form and click on [Login] button.
  3. User successfully logs in into the account.
  4. User clicks on 'Log-out' link.
  5. User logs out from the account successfully.
Basic Path 3
  1. User clicks on 'Login' link on home page.
  2. User enters valid registered user name in forgot password form and click on [Email Password] button.
  3. User will be successfully able to reset his/her password.
Post-conditionUser 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

 

...

Use Case NameCategory Navigation
ActorCustomer (Anonymous/Registered)
DescriptionThe User can search through category pages for the desired product on the store.
TriggerUser searches product basis of category.
PreconditionUser should have already accessed the eCommerce store.
Basic Path
  1. User clicks on any of the category mentioned in the popular categories section.
  2. System displays the products of selected category.
  3. System navigates user to respective category's product page.
Post-conditionUser 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.
  • Category hierarchy should  render properly in categories section.

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.
  • Product listed count should be match with category members.
  • Pagination should work properly.
  • Product details should be display properly.

Working as expected.

Pass


 

...

Use Case NameProduct Search
ActorCustomer (Anonymous/Registered)
DescriptionBuyer searches the product from the available list and add multiple products to the cart.
TriggerUser searches products.
PreconditionUser should have already accessed the eCommerce store.
Basic Path
  1. User enters the keyword(product name or id) in search field of Search Catalog section and click on [Find] button.
  2. System displays the list of products with matching criteria. 
  3. User can navigate to the next page for matching searched results.
  4. User can also add the products into shopping cart from the searched results.
Post-conditionSystem 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

  • E-commerce home page should be rendered successfully.
  • Search Catalog section should be rendered properly.

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

Click on [Advanced Search] button.

  • User will be redirected to Advanced Search Page.
  • There should show search fields on form.

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.
  • Pagination should be work if result have more than 10 products.
  • Product summary should show along with image, description and price details.
  • Add To Compare button should show with each product.
  • Add To Cart, Configure and Choose Variant button should show as per product type.

Working as expected.

Pass

 

...

 

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.

  • 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

 

...

Use Case NameLogin and Update Personal Information
ActorCustomer
DescriptionRegistered User logs in into the system and update the personal information.
TriggerUser manages the account.
PreconditionUser should have already accessed the eCommerce store.
Basic Path
  1. System displays the Home page and User clicks on 'Login' link.
  2. User enters valid email and password in Registered User Login section.
  3. User logs into the account successfully.
  4. User clicks on 'profile' link on the top right of the page.
  5. System displays the profile page of the customer.
  6. User clicks the 'update' link in the personal information section.
  7. User updates the personal information and clicks on [Save] button.
  8. System updates the user information successfully.
  9. User clicks on [Update] button in Contact Information section.
  10. System navigates user to 'Edit Contact Information' page.
  11. User updates the contact information like address, phone no or email address and clicks on [Save] button.
  12. System updated the contact information successfully.
  13. User can update 'Payment Method Information' and 'User Name & Password' similarly.
Alternative Path 1If user only want to update contact information then can directly follow step 9.
Post-conditionUser is able to update account information.


User Acceptance Test Cases

EC-LUPI-TC1 (User Login to the system and access of “Profile” page):

...