0% found this document useful (0 votes)
3 views4 pages

Book1

book
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
3 views4 pages

Book1

book
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

Test Case for Calculator

Test Case Expected Actual Pass/Fa


Test Case Precondition Input Data Step to be Executed
Id output Output il
TC1 Performing the Calculator Suppose int1=25 & -Enter 1st operand -Press Correct result i.e 59 Pass
addition of two mustbe installed int2=34 '+' 59
integer and open -Enter second operand
numbers -Press '='
TC2 Performing the Calculator Suppose int1=25 & -Enter 1st operand -Press Correct result i.e - -9 Pass
Subtraction of mustbe installed int2=34 '+' 9
two integer and open -Enter second operand
numbers -Press '='

TC3 Performing the Calculator Suppose int1=25 & -Enter 1st operand -Press Correct result i.e 850 Pass
Multiplication of mustbe installed int2=34 '+' 850
two integer and open -Enter second operand
numbers -Press '='

TC4 Performing the Calculator Suppose int1=25 & -Enter 1st operand -Press Correct result i.e 0.735 Pass
Division of two mustbe installed int2=34 '+' 0.735
integer and open -Enter second operand
numbers -Press '='
TC5 Finding Calculator Enter the total marks Click on Enter Correct result i.e 80% Pass
Percentage of a mustbe installed among the n 80%
marks and open subjects[Suppose the
Entity have got 400
marks in 5 subjects]
TC6 Finding the Calculator must Enter the data Click on Enter Correct result i.e 12.5litre/hr Pass
average be installed and (Suppose,finding an 12.5litre/hr
open average of a bike
travelled in n litres
therefore:Bike travelled:-
100km in
8 litres)
TC7 Finding the Calculator must Enter the expression Click on Enter Correct result i.e success Pass
Trignometric be installed and (Value of Sin θ(45)) 0.70
values open

TC8 Finding the Calculator must Enter the expression Click on Enter Correct result i.e Success Pass
Trignometric be installed and (Value of Cos θ(45)) 0.70
values open
TC9 Finding the Calculator must Enter the expression Click on Enter Correct result i.e 1 Success Pass
Trignometric be installed and (Value of Tan θ(45))
values open

TC10 Clear Screen - - Click on clear Success Success Pass

You might also like