0% found this document useful (0 votes)
2K views9 pages

Test Cases of Calculator (Software Testing)

ste engineering
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views9 pages

Test Cases of Calculator (Software Testing)

ste engineering
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

COMP ENGG SOFTWARE TESTING

INDEX

Sr. No. Title Name Page No.


01) Abstract 02
02) Introduction 03
03) Basic Operational Tests 04
04) Functionality Test Cases 04
05) Test Cases Of Calculator 05
06) Conclusion 07
07) Reference 08

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 1


COMP ENGG SOFTWARE TESTING

ABSTRACT

We have create a test cases of simple calculator project for software testing.
In the project we have created the test cases of scientific calculations. For we using
different calculations like addition, subtraction, Multiplication, division.

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 2


COMP ENGG SOFTWARE TESTING

INTRODUCTION

This project discusses the calculation of test


cases for interactive system. A novel approach is presented that treats the problem
of test-cases synthesis and as an abstraction problem. The renement calculus is
used to formulate abstraction rules for calculating correct test-cases scenarious
from a format contact. and we created a different test cases of calculations on
multiplication addition subtraction and division.

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 3


COMP ENGG SOFTWARE TESTING

 Basic Operational Tests. :-


Write the test cases based on the following functions and scenarios. :-

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 the calculator gives the correct result in case of operation.

 Functionality Test Cases. :-

 Check the addition of two integer numbers.


 Check the subtraction of two integer numbers.
 Check the multiplication of two integer numbers.
 Check the division of two integer numbers.

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 4


COMP ENGG SOFTWARE TESTING

 Test Case Of Calculator. :-

Sr. Test Test Prereq Steps Input Expecte Actua St


No case Case uisites Data d l at
. s Objective Result Resul us
Id t
1 TC-1 To add Calculat 1)Key in a valid 135+10 235 235 PA
Two or is integer from - 0 (addition SS
Integers switche 9999999999 to above ten
And d on +9999999999 digits will
display the 2)Key in be
result on operator+ expressed
calculator 3)Key in second in
operand, a valid exponenti
integer from al form)
9999999999 To
+9999999999
2 TC-2 To subtract Calculat 1)Key in a valid 135-100 35(Subtra 35 PA
two or is integer from - ction, SS
integers switche 9999999999 to above ten
and display d on. +9999999999 digits will
the result 2)Key in operator be
on ten digit – expressed
calculator 3)key in second in
operand, a valid exponenti
integer from al form)
9999999999 To
SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 5
COMP ENGG SOFTWARE TESTING

+9999999999
3 TC-3 To multiply Calculat
1)Key in a valid 100*40 40000(mu 40000 PA
two or is integer from- 0 ltiplication SS
integers switche
9999999999 to above ten
and display d on. +9999999999 digits will
the result 2)Key in operator be
on X expressed
calculator 3)Key in second in
operand, a valid exponenti
integer from al form)
9999999999 To
+9999999999
4 TC-4 To divide Calculat 1)Key in a valid 100/25 40(divisio 40 PA
two integer or is integer from - n above SS
and display switche 9999999999 to ten digits
the result d on. +9999999999 will be
on 2)Key in operator/ expressed
calculator 3)Key in second in
operand, a valid exponenti
integer from - al form)
9999999999 To
+9999999999.
5 TC-5 To clear the Calculat Press C Symbol Symbo PA
screen or is ‘0’ should l ‘0’ SS
switche appear on appears
d on. screen on
screen
6) Tc-6 To delete Calculat Press < - One digit One PA
digits one or is (backspace) should be Digit is SS
by one switche deleted deleted
d on from right from
hand side right
hand
side

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 6


COMP ENGG SOFTWARE TESTING

CONCLUSION:-

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 7


COMP ENGG SOFTWARE TESTING

The report gave us knowledge about the test cases of calculator.in


calculator we different types of scientific calculation are performed successfully
without any error.

REFERENCES:-

1)www.google.com

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 8


COMP ENGG SOFTWARE TESTING

2)www.greewk.com

SVPM’S Institute of Technology and Engineering Malegaon(BK) (2020-2021) Page 9

You might also like