Open In App

Software Testing – Testing Retail Point of Sale(POS) Systems with Test Cases Example

POS testing refers to testing the POS application to create a successful working POS application for market use. A Point of Sale (POS) system is an automated computer used for transactions that help retail businesses, hotels, and restaurants to carry out transactions easily.

What is Retail Point of Sale (POS) Testing?

POS is a complex system with a group of hardware and software components integrated to form a complete system. One can easily see POS in restaurants, resorts, shopping malls, and anywhere where sales occur. In the case of a shopping mall, after purchasing any item customer goes to the counter for billing, and this place with a system where billing occurs is called the Point of Sale system.



POS testing is tricky due to its multifunctioning and interconnection to several devices like a barcode reader, scanner, display board, card reader, printer, terminal window, and handheld device. Testing retail POS is not general testing as it requires thorough testing and confirmation that the system is ready to be accepted by the market.

What sets POS Testing Apart?

POS testing is not formal testing due to the following points:



Architecture for POS Application

The architecture of POS systems consists of three main components:

  1. POS terminal: It is the place from where the POS system performs all functions. That means it is the system itself.  
  2. Server: It is used to store all retail store information. The query generated at the main terminal goes to this server as it stores all data. It has information like the number of items in store, the price of each item, discounts on items, total sales in a day, and everything. In broad terms, it maintains the inventory list. More than one terminal is connected to the server. 
  3. Processing unit:  It processes the request sent by the server. It is connected to a third party (like a bank) to authenticate and provide information when the payment mode is a credit/debit card.

Working on POS System

Below are the steps that show the working on the POS system:

Types of Testing for POS System

 The POS system works at two levels and both levels involve different types of testing:

1. Application level: This level deals with all the activities of sale like sale of an item, available discount, coupons, payment, receipt printing, more precisely functions of application level is sales and payment. Type of testing used at this level are as:

2. Enterprise Level: The enterprise level is a broad term that deals with functions like payrolls, total transaction throughout the day, offers which attracted a large number of customers, database management, inventory list management, and accounts management. Type of testing used at this level are as: 

Physical Components of POS Systems and How to Test Them

POS comprises various hardware and maintaining them is a costly affair as hardware needs to be always in functioning order with accuracy. Parts of POS are as:

  1.  Terminal: It is the main screen that displays all the information needed for a transaction, mostly it is a touchscreen and shows all the detailed information of the entered query like discounts, price, number of items available in-store, and much more. Testers need to validate that it is supporting the latest version of OS and display everything correctly including prices of items,   and mistake-free calculations on the bill. It needs compatibility testing to validate working with connected devices.
  2. Display Pole: It is the screen that shows the price of the item to the customer. Testers validate that the same price will be displayed as shown on the terminal screen.
  3. Printer: A printer is attached to the main terminal which is used to print the receipt containing details of all purchased items along with their price, discount applied to them, taxes on an item, etc. Testers need to validate the correctness of information printed by the printer, testers check all non-functional requirements, and write test cases for negative scenarios like what happens when power is cut off in-between the printing, printer ink is finished then how the printer will behave.
  4. Barcode Reader: It is a device used to scan the product by which scanned product information is displayed on the main terminal. It fetches the price of the item from the inventory list and also automatically reduces the number of items on its sale. Testers validate that the barcode reader after scanning an item shows the correct price as listed in the inventory list, and validate that the scanned item has all required tags to fetch the price. Testers also validate how the scanner will scan an item if it is missing from the inventory list.
  5. Handheld devices: These devices support electronic modes of payment that facilitate the use of credit cards or debit cards for payment to customers. The employee can take the device to the customer and the customer inserts his card in the card slot of the device and enter the card pin, the employee inserts the amount and clicks the ok button. Testers validate the device by inserting the card and checking that it takes the correct amount of digits for payment and also test the device by inserting the wrong pin.
  6. Cash register: It is a register that opens automatically when the POS operator opts for a cash mode of payment as requested by the customer. Here, customers can purchase an item in cash, and the operator can return the remaining amount to the customer and place the paid amount in the cash register box. Testers validate that the device opens automatically on selecting the cash mode of payment. They also validate that the deposited amount is correctly entered in the account balance sheet of the store.
  7. Magnetic Swipe Reader (MSR): It is to swipe payment cards like credit, debit, and gift cards for making the payment. It is a simple device where the customer just swipes his card in the swiping slot and enters the card pin, some cards do not need any pin to enter for the transaction and work simply by swapping. As the customer swipe, the amount is deducted from his account. Testers validate that the correct amount is deducted and the device authenticates the cardholder, testers test the device by checking card is within the expiry date and has a sufficient amount for performing transactions and on scanning the gift card, the device checks the validity of the card.

Sample Test Cases for POS used in Retail

Below are the test cases and the test scenarios for the Retail POS system: 

Test Scenario

Test Cases

Cashier
  • Check whether the item is correctly scanned or not.
  • Correct entry of total balanced of all the purchased items.
  • Correct available discount is applied to the purchased item.
  • The system is compatible with various peripheral devices like display units, and barcode readers.
  • All modes of the transaction are working correctly.
  • In the case of the cash mode of transaction, the cash register opens automatically. 
Payment Gateway Processing
  • Check proper encryption and decryption of card information.
  • Check the CVV number on the card
  • Check with entering an incorrect card pin.
  • Check by processing the transaction without entering any card for payment. 
Return and Exchange
  • Check all the terms and conditions for exchange and return mentioned on the back side of the receipt.
  • In case of an exchange, check that the inventory list has the items in stock and is ready to exchange.
  • Check how many items are eligible for a refund in case of return.
  • Check that the return/exchange item is within the time limit as specified by the store.
Sales
  • Check the regular working of sale processes.
  • Check proper and correct discounts are applied on items on its sale.
  • Check the system with no transaction.
  • Check the sale process can be done by using all available modes of payment.
  • Check the offers applied to the sale are useful to attract customers.
  • Check if the item for sale is added or not to the inventory list, in case some item is not added then how sale takes place?
Performance
  • Check the response time of the system.
  • Check how the system behaves on its regular update.
  • Check system performance with different modes of payment.
  • Check-in case of partial payment mode like the customer wants to pay some part of the amount by cash and remaining through electronic means. 
Extra add-ons like a discount, and offers 
  • Check the system in case of discounts and offers on special occasions.
  • Check the proper price of an item listed by the printer after applying any available discount.
  • Check the system is listed with proper opening and closing of seasonal offers.
  • Check system is responding for some particular offer which is liked by customers most.

Security Testing for Retail POS Systems

Security is the most important requirement for the successful working of an application and it also helps to protect the application from unauthorized access. As the retail POS system uses the internet for the updation of a new version of the software and supports payment using the cards, these features of POS are always vulnerable to hackers. Security testing is conducted due to following reasons:

Common Challenges For POS Users

Challenges in POS Testing

Benefits of POS Testing

Retail POS greatly reduces the workload, and manpower and makes working automated as it helps in listing the items with their prices, keeping records of sales, offers available in the store, discount coupons, and much more. Its testing is equally important because its working affects the profit earned by a store and the benefits of testing retail POS are as:


Article Tags :