...
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 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
|
EC-CP-TC3 (One Page 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 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 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 should be able to proceed further and open the step 3 Shipping Options section.
- Logged in user should see the all the shipping information if exists in the system.
- Anonymous user needs to provide all the shipping information in step 2.
- At any point before submitting the order user should be able to edit the shipping information.
| Working as expected. | Pass3 |
User click on [continue to step 3] | - User should be able to proceed further and open the step 3 Shipping Options section.
- User should be able to select shipping method and proceed further.
- At any point before submitting the order user should be able to edit the shipping options.
| Working as expected. | Pass
|
User click on [continue to step 4] | - User should be able to proceed further and open the step 4 Billing section.
- Logged in user should see the all the billing information if exists in the system.
- User should be able to select add credit card and billing address information.
- At any point before submitting the order user should be able to edit the billing information.
| Working as expected. | Pass |
User click on [continue to step 4] | - User should be able to see all the information provided in all previous steps.
- User should be able to edit all the information here.
- User should be able to see the submit order button.
| 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 |