Test Cases For Calculator

Test Cases For Calculator

In this article, We will discuss test cases for calculator. There are two types of Calculator one of simple calculator and second scientific calculator. We include UI test cases, Functional test cases and Negative test cases for the calculators.

Test Cases For Simple Calculator

UI Test Cases For Simple Calculator

Sr.NoTestcase_IDTest Cases
1UI__01Check that brand name of the calculator
2UI__02Check that the brand logo is displayed on the calculator or not
3UI__03Check that color of the calculator
4UI__04Check that shape of the calculator
5UI__05Check that height of the calculator
6UI__06Check that length of the calculator
7UI__07Check that weight of the calculator
8UI__08Check that material of the calculator
9UI__09Check that screen size of the calculator
10UI__10Check that buttons are properly displayed or not
11UI__11Check that numbers are properly displayed on buttons or not
12UI__12Check that arithmetic signs are properly displayed or not
13UI__13Check that ON and OFF buttons are properly displayed or not
14UI__14Check the size of each of the calculators
15UI__15Check the color of each button of the calculator
16UI__16Check that it has a flip cover or not
17UI__17Check the price of the calculator
18UI__18Check that it is operated by battery or solar

Functional Test Cases For Simple Calculator

Sr.NoTestcase_IDTest Cases
1Fun_Basic_01Verify that the result of the addition operation of two integer numbers is displayed as expected or not
2Fun_Basic_02Verify that the result of the subtraction operation of two integer numbers is displayed as expected or not
3Fun_Basic_03Verify that the result of the multiplication operation of two integer numbers is displayed as expected or not
4Fun_Basic_04Verify that the result of the division operation of two integer numbers is displayed as expected or not
5Fun_Basic_05Verify that the user is able to clear the screen or not
6Fun_Basic_06Verify that the user is able to clear a single digit by backspace or not
7Fun_Basic_07Check that maximum numbers are displayed properly in the LCD screen or not

Test Cases For Scientific Calculator

UI Test Cases For Scientific Calculator

Sr.NoTestcase_IDTest Cases
1UI_Sci_01Check that brand name of the calculator
2UI_Sci_02Check that the brand logo is displayed on the calculator or not
3UI_Sci_03Check that shape of the calculator
4UI_Sci_04Check that screen size of the calculator
5UI_Sci_05Check the price of the calculator
6UI_Sci_06Check that it is operated by battery or solar
7UI_Sci_07Check the dimension of the calculator
8UI_Sci_08Check the material of the calculator
9UI_Sci_09Check that layout of the calculator
10UI_Sci_10Check whether the ON/C and OFF key is displayed properly or not
11UI_Sci_11Check that the MODE key is displayed properly or not
12UI_Sci_12Check the arrows keys are properly displayed or not
13UI_Sci_13Check the data entry keys such as 0 to 9 numbers, decimal point, and notation keys are displayed with a proper indication or not
14UI_Sci_14Check that the LCD screen size of the calculator
15UI_Sci_15Check that numbers are displayed as expected or not

Functional Test Cases For Scientific Calculator

Sr.NoTestcase_IDTest Cases
1Fun_Sci_01Verify that the initially displayed mode of the calculator
2Fun_Sci_02Verify that basic operation such as addition, subtraction, multiplication, and division working as expected or not
3Fun_Sci_03Verify that if any user performs a calculation and then press ENTER then the result should be displayed
4Fun_Sci_04Verify that the “=” key is finding the result the same way as ENTER key
5Fun_Sci_05Verify that result of the common logarithm calculations
6Fun_Sci_06Verify that result of the powers based on the constant e calculation
7Fun_Sci_07Verify that result of the factorial calculation
8Fun_Sci_08Verify that result of the fractional calculation is expected or not
9Fun_Sci_09Verify that  the calculation of the trigonometric function as expected or not

Negative Test Cases For Calculator

Sr.NoTestcase_IDTest Cases
1Negative_TC_01Check that it is waterproof or not
2Negative_TC_02Check that digits are properly displayed or not
3Negative_TC_03Verify the result is displayed on the LCD screen or not if the user applies for maximum numbers

Conclusion

So in this way, we can identify test cases for calculator. We covered UI, Functional and Negative test cases for simple and scientific calculator. As you can see a calculator is a valuable tool for everyone. I hope the above-mentioned test cases will help you to test the calculator object. If you are looking for more test cases examples then please visit the links below.

Scroll to Top