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
1
TC_01
To verify Login functionality with valid email id and valid password.
2
TC_02
To verify Login functionality with valid email id and invalid password.
3
TC_03
To verify Login functionality with invalid email id and valid password.
4
TC_04
To verify Login functionality with invalid email id and invalid password.
5
TC_05
To verify Login functionality with blank email id and valid password.
6
TC_06
To verify Login functionality with a valid email id and a blank password.
7
TC_07
To verify Login functionality with a blank email id and a blank password.
8
TC_08
To verify Login functionality with a valid phone number and valid password.
9
TC_09
To verify Login functionality with valid phone numbers and invalid passwords.
10
TC_10
To verify Login functionality with invalid phone number and valid password.
11
TC_11
To verify Login functionality with invalid phone numbers and invalid passwords.
12
TC_12
To verify Login functionality with blank phone number and valid password.
13
TC_13
To verify the length of the email id and password field.
14
TC_14
To verify that the error message displays when any field is left blank.
15
TC_15
To verify Tab key functionality on the Login page.
SR.No
Testcase_ID
Test Cases
16
TC_16
To verify the alignment of each field of the login page.
17
TC_17
To verify that each mandatory field has an asterisk for validation.
18
TC_18
To verify that each field has a proper placeholder.
19
TC_19
To verify that entered multiple times incorrect password.
20
TC_20
To verify that show the password EYE icon on the Password text field.
21
TC_21
To verify that Welcome message after successful login.
22
TC_22
To verify that Forgot Email functionality.
23
TC_23
To verify that Create Account functionality.
24
TC_24
To verify that Next button with multiple times click events
25
TC_25
To verify that Forgot Password functionality.
26
TC_26
To verify if the Password text format is encrypted or not.
27
TC_27
To verify that back button functionality after logging out.
28
TC_28
To verify that message for entered invalid inputs.
29
TC_29
To verify that Sign In button with click and Enter key events.
Test cases for Home Page Functionality
SR.No
Testcase_ID
Test Cases
1
TC_01
To verify the home page should be displayed after a successful login or not.
2
TC_02
To verify that the user name is displayed on the homepage or not.
3
TC_03
To verify that the home page is in different browsers.
4
TC_04
To verify that the products are displayed on the home page or not.
5
TC_05
To verify that the search functionality is available on the home page or not.
6
TC_06
To verify that products on the home page are clickable or not.
7
TC_07
To verify that the alignment on the home page.
8
TC_08
To verify that the products are displayed as categorized on the home page or not.
9
TC_09
To verify that user profile is available on the home page or not.
Test cases for search Functionality
SR.No
Testcase_ID
Test Cases
1
TC_01
To verify that search box is available or not.
2
TC_02
To verify that the length of the search query is as per specification.
3
TC_03
To verify that the search result is displayed as per the search query.
4
TC_04
To verify that the user should be able to search products as per the name, brand name, and brand specification or not.
5
TC_05
To verify that the search button is working properly or not.
6
TC_06
To verify that the search text field with alphabets, numbers, and symbols.
7
TC_07
To verify that the sorting option should be available on the search page or not.
8
TC_08
To verify that the numbers of search results displayed a page.
Test cases for Product Detail Page
SR.No
Testcase_ID
Test Cases
1
TC_01
To verify that the images of products are displayed on the page correctly or not.
2
TC_02
To verify that the price of the product should be displayed.
3
TC_03
To verify that the product specifications should display.
4
TC_04
To verify that the product reviews are displayed or not.
5
TC_05
To verify that products status for In Stock/Out of Stock is displayed or not.
6
TC_06
To verify that the shipping information about the product is displayed or not.
7
TC_07
To verify that the payment option should be displayed on the product detail page.
8
TC_08
To verify that the related products are displayed or not.
Test cases for Cart Functionality
SR.No
Testcase_ID
Test Cases
1
TC_01
To verify that the Add to cart button is clickable or not.
2
TC_02
To verify after clicking Add to cart button, Products are moved to Cart or not.
3
TC_03
To verify that the number of items is increased or not.
4
TC_04
To verify that the user is able to continue shopping after adding items to the cart or not.
5
TC_05
To verify that the total amount of all the items is displayed or not.
6
TC_06
To verify that the tax information is displayed or not.
7
TC_07
To verify that the user is able to see shipping charges as per location
8
TC_08
To verify that the maximum numbers of quantity.
9
TC_09
To verify that the products should remove from the cart.
10
TC_10
To verify that the user is able to remove multiple products from the cart.
11
TC_11
To verify that the user is able to apply coupons code or not.
Test cases for Checkout and Payment Functionality
SR.No
Testcase_ID
Test Cases
1
TC_01
To verify that the payment options are displayed on the checkout page or not.
2
TC_02
To verify that the product details like Product name, Product quantity, Product amount are displayed on Checkout Page or not.
3
TC_03
To verify that the unregistered users are not allowed to access the checkout page.
4
TC_04
To 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.
5
TC_05
To verify that Name, Street Address, City, State, Country, Postal code is the mandatory field in the Checkout page for Billing Address.
6
TC_06
To 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.
7
TC_07
To verify that the back button is working properly or not.
8
TC_08
To verify that the user should be redirected to the payment page after entering valid data.
9
TC_09
To verify that the user is able to apply coupons or not.
10
TC_10
To verify that the order price when the coupon code is applied.
11
TC_11
To verify that the error message for an invalid coupon code.
12
TC_12
To verify the Name on Card, Card Number, Expiry Date, and CVV number are mandatory fields on the Payment Page or not.
13
TC_13
To verify that the error message is displayed when the user enters incorrect data in all the mandatory fields on the payment page.
14
TC_14
To verify that the user is redirected to the third party page or not.
15
TC_15
To verify that the user is able to place an order successfully.
16
TC_16
To verify that after placing an order, the total price should be zero.
Test cases for My Orders Page
SR.No
Testcase_ID
Test Cases
1
TC_01
To verify that the order history should be displayed on the My Order page or not.
2
TC_02
To verify that the user is able to change the order or not.
3
TC_03
To verify that user is able to cancel the order or not.
4
TC_04
To verify that the user is able to track his order or not.
5
TC_05
To 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.