Thursday, August 3, 2017

eCommerce website: Components and Testing

eCommerce is rapidly increasing day by day worldwide. Electronic commerce includes selling/buying products online over the world wide web. A tester deployed in eCommerce domain needs to know these basic components and technologies involved in testing eCommerce web applications.

Basic components of an e-commerce website:

Homepage: It's basically the very 1st page of an eCommerce website having banners, links to various categories, popular products, login/logout, Promotions, widgets etc.

My Account page: This page appears for a logged in user only. It contains saved addresses, saved bank card details, previous orders etc.

Search Page: This page contains the result set after a user enters a search string and searches for a particular product.

Product Page: This page contains the product and it's description along with product specifications like price, attributes like size, color etc.


Categories: These are the high level classification of products. For example: Categories of a Clothing website can be - Uppers, Lowers, Shorts, Shirts etc.

Cart: Cart is the key element of an eCommerce website. It contains all the products, quantity and prices a user is going to place an order with.

Checkout/Payments page: Checkout page asks for delivery addresses, payment methods like Net-banking, Credit card, Debit card, Mobile wallets like Paytm, Mobikwik etc.

Thank you page: Thank you page contains the order summary of the transaction made on the Checkout page.

Every eCommerce website has to have the above page components.

Some other salient features of eCommerce are:

Wishlist: A wishlist is a list of tagged products that user opts to buy later. Products are saved in wishlist so that user need not navigate and search for his favourite products again and again.

Reviews: Reviews help user in understanding various experiences others faced after purchasing selected product.

UTM source: A UTM source is a sort of referring website in order to track where the user came from. Majority of eCommerce websites provide referral programs for promotions.

GA/GTM events: Google Analytics/ Google tag manager helps eCommerce to track all events and actions that users perform on the website. This helps them analyse popular products and understand target audience behaviour.

Cookies: Cookies help in A/B testing. Edit this Cookie is a good browser addon to test session and system cookies. Cookies help in enhancing user's experience on the website.

Cache: A cache is basically like RAM. It stores specific pages and helps render the pages quickly on the browser.

What all you need to test eCommerce based web applications:

UI/UX Testing: Sound knowledge of HTML, CSS and Javascript. You must know how to inspect and debug web elements using Addons like Firebug etc.

Database Testing: You must have hands on experience in MySQl. MongoDB would be an added advantage.

API Testing: You must be aware of Restful WebServices like GET/POST etc. Postman is an effecient tool to study jSON responses on hitting API endpoints with valid parameters.

Also a test engineer testing eCommerce should have knowledge of eCommerce concepts like Serviceability, Payment Gateways, Mobile Wallets, UI, Shipping Providers, Order Management Systems, Seller Management Systems, Discount Coupons, NPS scores, KYC, SEO Optimization, Full/Incremental Data loading scripts, Image Processing etc.