Test cases for Online Shopping Application

In this post, we will see some high-level test cases for an e-commerce website covering general UI test cases, product buy flow test cases, and product creation panel test cases.

General Test Cases for Ecommerce Application

  1. Verify that the user is able to navigate through all the products across different categories.
  2. Verify that all the links and banners are redirecting to correct product/category pages and none of the links are broken.
  3. Verify that the company logo is clearly visible.
  4. Verify that all the text – product, category name, price, and product description are clearly visible.
  5. Verify that all the images – product and banner are clearly visible.
  6. Verify that category pages have a relevant product listed specific to the category.
  7. Verify that the correct count of total products is listed on the category pages.
  8. Search – Verify that on searching all the product satisfying the search criteria are visible on the search result page.
  9. Search – Verify the more relevant product for the search term is displayed on the top for a particular search term.
  10. Search – Verify that count of products is correctly displayed on the search result page for a particular search term.
  11. Filtering – Verify that filtering functionality correctly filters products based on the filter applied.
  12. Filtering – Verify that filtering works correctly on category pages.
  13. Filtering – Verify that filtering works correctly on the search result page.
  14. Filtering – Verify that the correct count of total products is displayed after a filter is applied.
  15. Sorting – Verify that all the sort options work correctly – correctly sort the products based on the sort option chosen.
  16. Sorting – Verify that sorting works correctly on the category pages.
  17. Sorting – Verify that sorting works correctly on the search result page.
  18. Sorting – Verify that sorting works correctly on the pages containing the filtered result, after applying filters.
  19. Sorting – Verify that product count remains intact irrespective of sorting option applied.

Product Buy Flow – Test cases for Ecommerce Website

  1. Verify that on the product page, the user can select the desired attribute of the product e.g. size, color, etc.
  2. Verify that the user can add to cart one or more products.
  3. Verify that users can add products to the wishlist.
  4. Verify that the user can buy products added to the cart after signing in to the application (or as per the functionality of the website).
  5. Verify that the user can successfully buy more than one product that was added to his/her cart.
  6. Verify that the user cannot add more than the available inventory of the product.
  7. Verify that the limit to the number of products a user can by is working correctly by displaying an error message and preventing the user from buying more than the limit.
  8. Verify that the delivery can be declined for the places where shipping is not available.
  9. Verify that the Cash on Delivery option of payment is working fine.
  10. Verify that the different pre-paid methods of payments are working fine.
  11. Verify that product return functionality works fine.

User(Buyer) Registration – Test cases

  1. Verify that all the specified fields are present on the registration page.
  2. Verify that the required/mandatory fields are marked with * against the field.
  3. Verify that for better user interface dropdowns, radio buttons and checkboxes, etc fields are displayed wherever possible instead of just textboxes
  4. Verify the page has both submit and cancel/reset buttons at the end.
  5. Verify that clicking submits button after entering all the required fields, submits the data to the server.
  6. Verify that clicking cancels/reset button after entering all the required fields, cancels the submit request, and reset all the fields.
  7. Verify that whenever possible validation should take place at client side
  8. Verify that not filling the mandatory fields and clicking the submit button will lead to validation error.
  9. Verify that not filling the optional fields and clicking the submit button will still send data to the server without any validation error.
  10. Check the upper limit of the textboxes.
  11. Check validation on the date and email fields (only valid dates and valid email Ids should be allowed.
  12. Check validation on numeric fields by entering alphabets and special characters.
  13. Verify that leading and trailing spaces are trimmed.
  14. Verify that entering blank spaces on mandatory fields leads to validation error.
  15. Verify that after making a request to the server and then sending the same request again with the same unique key will lead to server-side validation error.

Seller – Product creation Test cases

  1. Verify that authenticated sellers get access to product creation panels specific to the authorized categories.
  2. Verify that the product creation panel is working fine for single product creation.
  3. Verify that the product creation panel is working fine for multiple product creation.
  4. Verify that the maximum product creation limit for the seller is working fine, limiting the seller to create more than the desired number of products.
  5. Verify panel validation for checking mandatory fields.
  6. Verify that duplicate product creation is restricted through the panel.
  7. Verify that seller can update the information and price of existing products.
  8. Verify that products created by sellers get visible on the website after a certain period of time.
  9. Verify that updates made by the seller get visible on the website after a certain period of time.

Test Case Examples

Login PageRegistration PageE-commerce AppGoogle Search
GMailYoutubeFacebookATM Machine
ChairCoffee MachineDateFieldDoor
CalculatorFanFlight ReservationCar
Hospital ManagementKeyboardKindleLift
Mobile PhoneMouseMicrowave OvenNotepad
Online ExaminationPenPencilRemote Control
StaplerTableTriangleTV
Wrist WatchWater BottleWhatsappWhite Board
Bike

2 thoughts on “Test cases for Online Shopping Application”

    • Yes, Sindhuja, I am fine with it provided-
      1. You don’t use the whole blog post.
      2. You provide a doFollow link back to this post.

      Reply

Leave a Comment