test cases of calculator

Test Cases for Calculator

Last updated on

In this article, we are sharing some test scenarios for a table. The focus here is to cover the different features to be tested instead of the creation of formal test cases, so we will be presenting test scenarios here.

  1. Check if the calculator is a normal calculator or a scientific calculator.
  2. Verify that all the buttons are present and text written on them is readable.
  3. Check the arithmetic operations are working fine- +, -, /, *, etc.
  4. Verify that BODMAS is applied in case of complex queries and that the correct result is returned.
  5. Verify that the calculator gives the correct result in the case of operations containing decimal numbers.
  6. Check if the calculator is battery-operated or works on solar power.
  7. Verify the outer body material of the calculator.
  8. Verify the spacing between the two buttons, the buttons should not be too closely placed.
  9. Check the pressure required to press a button, the pressure required should not be too high.
  10. Verify the number of digits allowed to enter in the calculator for any operation.
  11. Verify the limit of the response value.
  12. Verify the functioning of memory functions.
  13. Check if the calculator allows navigating through previous calculations.
  14. Verify that hitting ‘C’ cancels any digits or operations added.
  15. Verify the working of the ON-OFF button in the calculator.
  16. Check if keeping the calculator unused for a certain period of time, turns it off automatically.
  17. Verify that on pressing two operators one after the other, the latest one will override the previous operator.
  18. Verify the state of the calculator when two buttons are pressed simultaneously.
  19. Verify if the user can delete digits one by one using the backspace key.

Test Case Examples

Login PageRegistration PageE-commerce AppGoogle Search
ATM MachineHeader, Footer, Textbox, etcFacebookGMail
YoutubeCoffee MachineDateFieldDoor
CalculatorFanFlight ReservationCar
Hospital ManagementKeyboardKindleLift
Mobile PhoneMouseMicrowave OvenNotepad
Online ExaminationPenPencilRemote Control
Wrist WatchWater BottleWhatsappWhite Board
ChairMarkerForgot PasswordAir Conditioner

3 thoughts on “Test Cases for Calculator”

  1. 1) Verify That after entering incorrect operation in calculator must show the error keyword there.
    2) Verify the negative responce/Answer/Numbers (digit) should be shown with minus sign.


Leave a Comment