test cases for ecommerce website

How To Write Test Cases For Ecommerce Website

Test cases for ecommerce website – Nowadays Many More peoples are preferred to shop online. That reason ecommerce and Retail businesses growing faster. In software testing interviews manual test cases for ecommerce website is mostly asked by interviewer. In this blog, we have tried to cover the maximum test scenarios for ecommerce website.

Test cases for Login Functionality

SR.No Testcase_ID Test Cases
1TC_01To verify Login functionality with valid email id and valid password.
2TC_02To verify Login functionality with valid email id and invalid password.
3TC_03To verify Login functionality with invalid email id and valid password.
4TC_04To verify Login functionality with invalid email id and invalid password.
5TC_05To verify Login functionality with blank email id and valid password.
6TC_06To verify Login functionality with a valid email id and a blank password.
7TC_07To verify Login functionality with a blank email id and a blank password.
8TC_08To verify Login functionality with a valid phone number and valid password.
9TC_09To verify Login functionality with valid phone numbers and invalid passwords.
10TC_10To verify Login functionality with invalid phone number and valid password.
11TC_11To verify Login functionality with invalid phone numbers and invalid passwords.
12TC_12To verify Login functionality with blank phone number and valid password.
13TC_13To verify the length of the email id and password field.
14TC_14To verify that the error message displays when any field is left blank.
15TC_15To verify Tab key functionality on the Login page.

SR.NoTestcase_IDTest Cases
16TC_16To verify the alignment of each field of the login page.
17TC_17To verify that each mandatory field has an asterisk for validation.
18TC_18To verify that each field has a proper placeholder.
19TC_19To verify that entered multiple times incorrect password.
20TC_20To verify that show the password EYE icon on the Password text field.
21TC_21To verify that Welcome message after successful login.
22TC_22To verify that Forgot Email functionality.
23TC_23To verify that Create Account functionality.
24TC_24To verify that Next button with multiple times click events
25TC_25To verify that Forgot Password functionality.
26TC_26To verify if the Password text format is encrypted or not.
27TC_27To verify that back button functionality after logging out.
28TC_28To verify that message for entered invalid inputs.
29TC_29To verify that Sign In button with click and Enter key events.

Test cases for ecommerce website

Test cases for Home Page Functionality

SR.NoTestcase_IDTest Cases
1TC_01To verify the home page should be displayed after a successful login or not.
2TC_02To verify that the user name is displayed on the homepage or not.
3TC_03To verify that the home page is in different browsers.
4TC_04To verify that the products are displayed on the home page or not.
5TC_05To verify that the search functionality is available on the home page or not.
6TC_06To verify that products on the home page are clickable or not.
7TC_07To verify that the alignment on the home page.
8TC_08To verify that the products are displayed as categorized on the home page or not.
9TC_09To verify that user profile is available on the home page or not.

Test cases for search Functionality

SR.NoTestcase_IDTest Cases
1TC_01To verify that search box is available or not.
2TC_02To verify that the length of the search query is as per specification.
3TC_03To verify that the search result is displayed as per the search query.
4TC_04To verify that the user should be able to search products as per the name, brand name, and brand specification or not.
5TC_05To verify that the search button is working properly or not.
6TC_06To verify that the search text field with alphabets, numbers, and symbols.
7TC_07To verify that the sorting option should be available on the search page or not.
8TC_08To verify that the numbers of search results displayed a page.

Test cases for Product Detail Page

SR.NoTestcase_IDTest Cases
1TC_01To verify that the images of products are displayed on the page correctly or not.
2TC_02To verify that the price of the product should be displayed.
3TC_03To verify that the product specifications should display.
4TC_04To verify that the product reviews are displayed or not.
5TC_05To verify that products status for In Stock/Out of Stock is displayed or not.
6TC_06To verify that the shipping information about the product is displayed or not.
7TC_07To verify that the payment option should be displayed on the product detail page.
8TC_08To verify that the related products are displayed or not.

Test cases for Cart Functionality

SR.NoTestcase_IDTest Cases
1TC_01To verify that the Add to cart button is clickable or not.
2TC_02To verify after clicking Add to cart button, Products are moved to Cart or not.
3TC_03To verify that the number of items is increased or not.
4TC_04To verify that the user is able to continue shopping after adding items to the cart or not.
5TC_05To verify that the total amount of all the items is displayed or not.
6TC_06To verify that the tax information is displayed or not.
7TC_07To verify that the user is able to see shipping charges as per location
8TC_08To verify that the maximum numbers of quantity.
9TC_09To verify that the products should remove from the cart.
10TC_10To verify that the user is able to remove multiple products from the cart.
11TC_11To verify that the user is able to apply coupons code or not.

Test cases for Checkout and Payment Functionality

SR.NoTestcase_IDTest Cases
1TC_01To verify that the payment options are displayed on the checkout page or not.
2TC_02To verify that the product details like  Product name, Product quantity, Product amount are displayed on Checkout Page or not.
3TC_03To verify that the unregistered users are not allowed to access the checkout page.
4TC_04To verify that the user’s name, address, city, state, country, postal code are displayed as the mandatory field on the checkout page for Shipping Address.
5TC_05To verify that Name, Street Address, City, State, Country, Postal code is the mandatory field in the Checkout page for Billing Address.
6TC_06To verify that the user is getting an error message or not when the user enters incorrect data in all the mandatory fields on the checkout page.
7TC_07To verify that the back button is working properly or not.
8TC_08To verify that the user should be redirected to the payment page after entering valid data.
9TC_09To verify that the user is able to apply coupons or not.
10TC_10To verify that the order price when the coupon code is applied.
11TC_11To verify that the error message for an invalid coupon code.
12TC_12To verify the Name on Card, Card Number, Expiry Date, and CVV number are mandatory fields on the Payment Page or not.
13TC_13To verify that the error message is displayed when the user enters incorrect data in all the mandatory fields on the payment page.
14TC_14To verify that the user is redirected to the third party page or not.
15TC_15To verify that the user is able to place an order successfully.
16TC_16To verify that after placing an order, the total price should be zero.

Test cases for My Orders Page

SR.NoTestcase_IDTest Cases
1TC_01To verify that the order history should be displayed on the My Order page or not.
2TC_02To verify that the user is able to change the order or not.
3TC_03To verify that user is able to cancel the order or not.
4TC_04To verify that the user is able to track his order or not.
5TC_05To verify that the user is able to return his order or not.

Conclusion:

So in this way we have included test cases for the home module, search module, cart functionality, and checkout functionality. These are the common test cases for ecommerce website websites. We can also include the test cases for the product details. So if you are looking for more examples of test cases then please visit the below links.

1.Test cases for WhatsApp

2.Test Cases For Payment Gateway

Scroll to Top