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

Experiment No .3-Design Test Case For Simple Calculator Application

The document outlines 10 test cases to test the functionality of a simple calculator application, including arithmetic operations like addition, subtraction, multiplication, and division; scientific functions like logarithms, trigonometric functions, and square root; and special functions like clearing the display and deleting a single digit. Each test case lists the test objective, pre-requisites, steps to perform the operation, expected input data, expected result, actual result, and test status.

Uploaded by

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

Experiment No .3-Design Test Case For Simple Calculator Application

The document outlines 10 test cases to test the functionality of a simple calculator application, including arithmetic operations like addition, subtraction, multiplication, and division; scientific functions like logarithms, trigonometric functions, and square root; and special functions like clearing the display and deleting a single digit. Each test case lists the test objective, pre-requisites, steps to perform the operation, expected input data, expected result, actual result, and test status.

Uploaded by

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

Experiment No .3- Design test case for simple calculator application.

Sr. Test_ Test_case Pre- Steps IP Expected Result Actual Status


No Case_ Objective Requisites Data Result
ID
01 Tc_1 To add two Calculator 1.Key in a valid 135 235(Addition, above 235 PASS
integer and is switched integer from + Ten digits will be
display the on -9999999999 to 100 expressed in
result on ten +9999999999 exponential form)
digit 2.Key in second
calculator operand , a valid
integer from
-9999999999 to
+9999999999
02 TC_2 To subtract Calculator 1.Key in a valid 135 35(Subtraction, 35 PASS
two integer is integer from - above ten digit will
and display Switched -9999999999 to 100 be expressed in
the result on on +9999999999 exponential form )
ten digit 2.Key in
calculator operator -
3. Key in second
operand , a valid
integer from
-9999999999 to
+9999999999

03 Tc_3 To multiply Calculator 1. .Key in a valid 100 40000(multiplication 40000 PASS


two integer is switched integer from * Above ten digit will
and display on -9999999999 to 400 be expressed in
the result on +9999999999 exponential form )
ten digit 2.Key in
calculator operator *
3. Key in second
operand , a valid
integer from
-9999999999 to
+9999999999

04 TC_4 To Divide Calculator 1. .Key in a valid 1000 40(Division 40 PASS


two integer is switched integer from / Above ten digit will
and display on -9999999999 to 25 be expressed in
the result on +9999999999 exponential form)
ten digit 2.Key in
calculator operator /
3. Key in second
operand , a valid
integer from
-9999999999 to
+9999999999
05 TC_5 To square Calculator 1. .Key in a valid 2 4(Square Above ten 4 PASS
one integer is switched integer from * digit will be
and display on -9999999999 to 2 expressed in
the result on +9999999999 exponential form)
ten digit Enter single
calculator number
2.Key in
operator *
06 TC_6 To square Calculator 1. .Key in a valid 4(Square root 4 PASS
root one is switched integer from √16 Above ten digit will
integer and on -9999999999 to be expressed in
display the +9999999999 exponential form)
result on ten Enter single
digit number
calculator 2.Key in
operator √
07 TC_7 To clear the Calculator Press C Symbol ‘O’ should Symbol PASS
screen is switched appear on screen ‘O’
on Appears
On
Screen

08 TC_8 To delete Calculator Press <- One Digit should be One PASS
digit one by is switched (Backspace) Deleted from right digit is
one on hand side Deleted
from
right
Hand
side
09 TC_9 To calculate Calculator Press log2 8 3 log2 8 3 PASS
logarithm of is switched
8 to base of 2 on

10 TC_10 To calculate Calculator Press sin(90) 1 Sin(90)=1 1 PASS


onom is switched
un on on
h n h

You might also like