SOFTWARE TESTING OF E-COMMERCE WEBSITE
Here I am considering flipkart as an example of e-commerce website.First of all, we’ll
run through the main functionality of an ecommerce website that needs to be tested.
Test plan and test case
Main pages
● Home page
● Featured products
● Special offers
● Information pages
○ About page
○ Shipping information
○ Returns policy
○ Terms page
○ Privacy policy
Product category pages
● Any filters such as product filters, colours, sizes, types of product, etc.
● Any ability to sort products by name, price, size, etc.
● Add to shortlist or wish list facility.
● Add to basket.
Product detail pages
● Product title
● Product description
● Product images
● Enlarge image
● 360 degree view of products
● Related products
● Any further product information, colours, sizes, options, extras.
● Add to shopping basket
●
Product search
● Keyword search
Shopping basket
● Add product(s) to shopping cart.
● Check display of product information, including image, is correct in shopping
cart.
● Click on product in shopping cart to go to product page.
● Adjust quantities of product in shopping cart.
● Remove product from shopping cart.
● Check relevant message displayed if no items are in shopping cart.
● Check discounts, taxes and delivery costs are correct (as applicable) in
shopping cart.
● If minimum order value required for free delivery, check adding sufficient
product value triggers free delivery option.
● Check subtotal adds up correctly.
● Add a valid discount code (if applicable) and check discount is applied
correctly.
● Add an invalid discount code (if applicable) and check correct message
displayed to the user.
● Check any links to information pages on delivery, returns, etc. open in a new
tab.
● Check consistency of terminology throughout, is it Cart, Basket or Bag?
● Click Checkout or Pay Now to process to Checkout process.
Test script
Consider login option to test
Valid login details
Steps Test data Expected result
1. Click on login Email - “Login successful”
button rushalishetty@gmail.co
2. Enter valid details m
3. Click on login Password -
1234678
Invalid login details
Steps Test data Expected result
1. Click on login Email - rushalishetty@ “Invalid email Id”
button Password -
2. Enter invalid 1234678
details
3. Click on login
Incomplete login details
Steps Test data Expected result
1. Click on login Email - “Email Id is required”
button Password -12345678
2. Enter incomplete
login details
3. Click on login