Table of Contents
Product Buy Flow – Test cases for Ecommerce Website
- Verify that on the product page, the user can select the desired attribute of the product e.g. size, color, etc.
- Verify that the user can add to cart one or more products.
- Verify that users can add products to the wishlist.
- 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).
- Verify that the user can successfully buy more than one product that was added to his/her cart.
- Verify that the user cannot add more than the available inventory of the product.
- 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.
- Verify that the delivery can be declined for the places where shipping is not available.
- Verify that the Cash on Delivery option of payment is working fine.
- Verify that the different pre-paid methods of payments are working fine.
- Verify that product return functionality works fine.
General Test Cases for Ecommerce Application
Verify that the user is able to navigate through all the products across different categories.
- Verify that all the links and banners are redirecting to correct product/category pages and none of the links are broken.
- Verify that the company logo is clearly visible.
- Verify that all the text – product, category name, price, and product description are clearly visible.
- Verify that all the images – product and banner are clearly visible.
- Verify that category pages have a relevant product listed specific to the category.
- Verify that the correct count of total products is listed on the category pages.
- Search – Verify that on searching all the product satisfying the search criteria are visible on the search result page.
- Search – Verify the more relevant product for the search term is displayed on the top for a particular search term.
- Search – Verify that count of products is correctly displayed on the search result page for a particular search term.
- Filtering – Verify that filtering functionality correctly filters products based on the filter applied.
- Filtering – Verify that filtering works correctly on category pages.
- Filtering – Verify that filtering works correctly on the search result page.
- Filtering – Verify that the correct count of total products is displayed after a filter is applied.
- Sorting – Verify that all the sort options work correctly – correctly sort the products based on the sort option chosen.
- Sorting – Verify that sorting works correctly on the category pages.
- Sorting – Verify that sorting works correctly on the search result page.
- Sorting – Verify that sorting works correctly on the pages containing the filtered result, after applying filters.
- Sorting – Verify that product count remains intact irrespective of sorting option applied.
User(Buyer) Registration – Test cases
- Verify that all the specified fields are present on the registration page.
- Verify that the required/mandatory fields are marked with * against the field.
- Verify that for better user interface dropdowns, radio buttons and checkboxes, etc fields are displayed wherever possible instead of just textboxes
- Verify the page has both submit and cancel/reset buttons at the end.
- Verify that clicking submits button after entering all the required fields, submits the data to the server.
- Verify that clicking cancels/reset button after entering all the required fields, cancels the submit request, and reset all the fields.
- Verify that whenever possible validation should take place at client side
- Verify that not filling the mandatory fields and clicking the submit button will lead to validation error.
- Verify that not filling the optional fields and clicking the submit button will still send data to the server without any validation error.
- Check the upper limit of the textboxes.
- Check validation on the date and email fields (only valid dates and valid email Ids should be allowed.
- Check validation on numeric fields by entering alphabets and special characters.
- Verify that leading and trailing spaces are trimmed.
- Verify that entering blank spaces on mandatory fields leads to validation error.
- 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.
ADVERTISEMENT