E-Commerce Testing丨How to Test an eCommerce Website?

51Testing | Software Testing Service Provider |Friday, 18th Dec. 2020

Influenced by the pandemic, online businesses get boomed because more people keep a social distance. E-Commerce has become the first option for many start-ups. How to present a user-friendly online shopping website with all necessary functions working normally? Ecommerce testers will tell you the answer.

E-Commerce testing-how to test an e-commerce website?-51testing
E-Commerce testing-how to test an e-commerce website?-51testing

Generally, we test an eCommerce website in two different modes:

According to the test types, here is the test that we should do for an eCommerce website.

1. Compatibility testing

Generally, we test the browser compatibility to see if our website can display normally in different browsers such as Firebox, Chrome, and Edge, etc. Meanwhile, the operating system compatibility is a key point. We will check if our website can work normally in different operating systems like Windows 10, Windows XP, macOS, etc.

2.UI testing

You should consider the questions below for the user interface of an Ecommerce website.

3. User experience(UE) testing

Firstly, check if the classification of the products on the homepage can fit the normal classification rules, and the display of the products is neat and clear enough.

Secondly, check the search result page. If the search result is correct and the display of the information is clear.

Finally, check the products details page. The product detail page will play a key role in the customer’s buying behavior. Product pictures, advertising commentary, product descriptions are all important elements.

4. Shopping process and shopping rules test

The most important process of a B2C website is the shopping process, which includes several important functions: shopping cart, delivery method, payment method, and order submission. The importance of the user experience of this process is to allow customers to easily complete the order process.

5. Shopping cart testing

When a certain product has a shopping limit, can it be placed in the shopping cart if it exceeds this value? Are the shopping limits in the shopping cart correct? Can the points be redeemed for genuine products or restricted products? Whether the points can be redeemed for promotional products?

6. Payment process

Can the selected products in the shopping cart be paid for normally? When the payment is completed, without waiting for the page to jump, whether the data transmission is correct if we close the browser directly? When the payment is completed, wait for the page to jump, whether the page we jump to is correct? Whether the data transmission between a certain module of the website is correct?

7. Order process test

After the order is submitted, verify the processing flow of the order and check whether the corresponding order status is correct.

According to the system architecture of the e-commerce website, we should focus on the testing below.

For a typical system structure, the three-tier C/S architecture is currently adopted, namely 1.Presentation layer, 2. Business layer, and 3. Data layer (the page interacts with the database).

1. Presentation layer

Check if the front end of the application is correct.

Check the correctness, accuracy of the information provided by the web application system.

Check if there are errors in the site structure and find out the invalid links.

a. Whether there is an empty link

b. Whether link to the specified page

c. Whether there is a connection error.

Check if the website is compatible with the users’ browsers and operating systems.

2. The business layer

In this layer, the test work is mainly to find out problems in the business logic.

The load test is to measure the performance of the Web system at a certain level to ensure that the Web system can work normally within the required range.

Collect data of test user in a way of form and submit the data after ensuring the consistency, correctness, and completeness of the data. Then go to the database to verify.

Test the correctness of the business process of the system. Such as adding products to the shopping cart, settlement, order submission, order processing flow, etc.

3. Data layer

The test of the data layer mainly refers to the test of the database management system used to collecting and storing information.

Quantitative concurrent operations, whether the application system has an impact on the response data, which directly affect user experience.

The test work mainly verifies the submission and storage of data. Compare the data to be submitted with the data in the database to confirm whether it is correct.

Ecommerce testing-homepage testing- shopping cart testing- payment gateway testing-51testing
Ecommerce testing-homepage testing- shopping cart testing- payment gateway testing-51testing

What testing should we focus on the homepage, shopping cart, and payment gateway of an eCommerce website?

Homepage test

The homepage test is divided into two important modules, UI test, and search function test.

The UI test mainly tests items below:

The search function test is divided into product search and shop search:

Shop search is similar to the product search.

Shopping cart testing

For the website/APP interface, we need to check whether the layout of the page is reasonable and the display of the page is in full.

All page links work normally and can turn into the correct page.

Products added from the product listing page can be displayed in the shopping cart.

When products are added to the shopping cart from other pages while the shopping cart page is opened. The newly added products can be displayed after the shopping cart page is refreshed.

If click on the shopping cart when not logged in, the user will be prompted to enter the user name and password, or another shopping way will be prompted for non-registered users.

When the product is not selected, the settlement button is gray and cannot be clicked.

After selecting the product, the total price of the selected product will be displayed, and the settlement button will be highlighted and can be clicked.

Select the product and click the settlement button, and then the user can enter the order confirmation page.

On the shopping cart page, you can modify the added product information and save it automatically.

Check whether there is a corresponding reminder in the shopping cart if there is a price reduction or an urgent inventory and whether the out-of-stock product can be added to the shopping cart.

Check if there is a limit on the number of goods that can be added to the shopping cart.

Unwanted goods can be deleted.

How long does it take to open the shopping cart page;

Whether the shortcut function is supported

Whether the functions on different browsers are normal?

Whether the functions are normal on different APPs?

Whether the functions of adding, modifying, deleting, and receiving information functions are normal?

How many receiving information can be added at most?

Whether the input box has restrictions on the character type and length?

Whether the receiving information can be saved when the required field is empty?

Can it be displayed correctly in the list after saving successfully? Whether the saved information can be viewed in the background?

Can an order be submitted without receiving information?

Can the user choose more than one receiving information?

Whether the picture, data, price, and other information about the product are correct?

Whether the character type and length are restricted when adding invoice information, whether the display is normal, and whether the correct invoice information can be queried in the background?

Whether the coupons and points are displayed correctly and whether they match the background?

Whether coupons and points can be used normally and can they be used in stacks?

Whether the payment amount of coupons and points is reduced accordingly? Whether the coupons and points in the background are also reduced accordingly?

After the order is submitted and the payment is successful, whether the order information can be queried in the background?

If the payment amount is not enough, can the customer buy it? Is there any hint?

Does the network interruption and power outage during the payment process affect the payment?

Can the payment be made normally in the weak network?

Payment gateway testing

Payment functions are often involved in many software applications. The focus of the payment function test is whether there is a loss of assets and consistency of transactions.

When doing payment gateway testing, we should pay attention to the below situation on the payment amount.

There is much third-party payment gateway. For example Alipay, Paypal, online banking, mobile banking, etc. So pay attention to the difference among these payment gateways.

On the operation of payment, these payment methods should attract your attention.

If there are abnormal scenarios, fault tolerance becomes an important matter to consider.

____

You might also be interested in these topics.

IoT Testing | A complete guide | What We Test? | Skills&Tools

How to Become A Game Tester? |Tutorial &Beginner’s Guide of Game Testing

Exp. Share | Performance Testing tutorial, step by step, a complete guide

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
51Testing

51Testing provides professional software testing services certificated by ISO9001:2008, ISO27001, ISO20000, and CMMI4.