Building test cases for e-commerce applications

Testing processes for e-commerce.

Test cases fall under a vital part of QA best practices because they directly or indirectly influence the whole process of quality assurance. When a product is under development each and every stage has to be quality checked before it is moved to production. For Ecommerce websites, every page in the website matters for the website quality and business

Home page

Home page is the starting point of any application. When a user first enters the site they actually see home page which acts as a deal breaker or maker to the site. Home page should be crisp and neat and not too much loaded with contents.

  • Major aspect to check in home page is loading time.
  • The auto-scrolling feature is present or not.
  • How much time is being taken to change the slides?
  • How long are the tabs taking to open and if it is working properly?
  • Are the interactive features of the website functioning properly?

Search feature

The search feature is an important aspect of the Ecommerce project because it influences the user experience to a huge extent. The search option present on the site should possess filtering capabilities in order to find the clients exactly what they are looking for.

  • If the drop-down list is coming with proper names of items.
  • If the name is wrong or there is a typing error, will the search list show the corrected recommendations?
  • How much time searching feature is taking to display the contents.
  • Will it rectify the typing mistakes and show the corrected names.
  • On typing the wrong name, will the search list show the corrected name or not.

The search feature is directly associated with the user experience of the site. Customers are heading towards an eCommerce site mainly to make a purchase from their collection. So if the search option itself is giving them a hard time, then the targeted audience will eventually lose interest in making a purchase.

Product description page

The following features are to be checked on the product description page

  • If the relevant information is showing on the page
  • The delivery destination verification option is present on the page
  • The picture of the product is enlarging on clicking
  • The price of the product is displayed
  • Delivery options are displayed
  • Shipping information is displayed
  • The review section is functioning.
  • Out of stock or In stock, information is showing on the page.

Shopping cart features

Following features are to be checked in the product Shopping cart

  • Is the checkout option working or not.
  • The continue shopping option is working or not.
  • All items are displayed that were added to the cart.
  • If one item is added twice, the number of the item present is showing the amount correctly.
  • Apply coupon section is functioning.
  • The price calculation is done correctly.
  • The add ons like taxes, shipping charges, etc. are displayed separately along with the individual price of the product.
  • Remove item from the cart option is working.
  • Check if the site is retaining all the products added in the cart if the user is leaving the page in between.

Payment options

 Features to be checked in Payment options

  • If all the payment options present are working properly.
  • On clicking on a particular payment option, the extra charges required for that one is displaying correctly.
  • Storing online payment option is working.
  • Offers available on choosing a particular mode of payment are displayed with all the correct information.
  • Security is maintained in this area because clients are entering their personal information into the e-commerce site.

Different types of testing processes for e-commerce.

  •       Functional Testing
  •       Usability Testing
  •       Security Testing
  •       Performance Testing
  •       Database Testing
  •       A/B testing.

Functional testing is a type of software testing that validates the software system against the functional requirements/specifications

  • Mainline functions:  Testing the main functions of an application
  • Basic Usability: It involves basic usability testing of the system. It checks whether a user can freely navigate through the screens without any difficulties.
  • Accessibility:  Checks the accessibility of the system for the user
  • Error Conditions: Usage of testing techniques to check for error conditions.  It checks whether suitable error messages are displayed.

Usability testing is a method used to evaluate how easy a website is to use. The tests take place with real users to measure how ‘usable’ or ‘intuitive’ a website is and how easy it is for users to reach their goals.

Types of usability testing

  • Comparative Usability Testing
  • Explorative Usability Testing

Security testing: It is a type of Software Testing that uncovers vulnerabilities, threats, risks in a software application and prevents malicious attacks from intruders. The purpose of Security Tests is to identify all possible loopholes and weaknesses of the software system which might result in a loss of information, revenue, repute at the hands of the employees or outsiders of the Organization.

Types of security testing – Vulnerability Scanning, Security Scanning, Penetration Testing, Risk Assessment, Security Auditing, Ethical hacking, Posture Assessment

Performance testing checks the speed, response time, reliability, resource usage, scalability of a software program under their expected workload. The purpose of Performance Testing is not to find functional defects but to eliminate performance bottlenecks in the software or device. Types of Performance testing – Load testing, Stress testing, Endurance testing, Spike testing, Volume testing, Scalability testing.

Database Testing is checking the schema, tables, triggers, etc. of the database under test. It may involve creating complex queries to load/stress test the database and check its responsiveness. It Checks data integrity and consistency.

A/B testing (also known as split testing or bucket testing) is a method of comparing two versions of a webpage or app against each other to determine which one performs better. AB testing is essentially an experiment where two or more variants of a page are shown to users at random, and statistical analysis is used to determine which variation performs better for a given conversion goal.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.