Write testcases for ordinary calculator like+,-,%,*,/,square root using test scenarios

Showing Answers 1 - 8 of 8 Answers


  • Feb 1st, 2007

take a simple example, your windows calculator where you are going to test only one operation which is adding 2 numbers.

Here you need to assess the situation and your imagination should be on the right track as you wont get your product or software beforehand.In case of testing the calculation 1 + 1 = 2, you assume that your windowscalculator has 4 buttons and a text box / display for giving you the answer.Again assume that you have the buttons 1, 1, + and a =. So if you give 1 the first time, it should be displayed on the text box!

Again you need to press the operator i.e. + and press the second input 1, which should appear on the display and then press =. The desired output you should get is 2.This is what will be given in the FSD. And moreover they would also give you some fine details about how the process takes place which is not testable.

Now the stuff in the second paragraph will be given in your FSD in a refined language.So first you check when we press 1 do we see it on the screen.Test case should be:"Verification of display of 1 on the screen when the input was given or when the button was clicked"and similarly for the second input:"Verification of display of 1 on the screen when the input was given or when the button was clicked"Now comes the result:"Verification of display of to on the screen when the = button was pressed"In some FSDs you would be given about a warning when you give non-numerical values like a, b instead of 1..If its given, well you can strait away write another test case "Verification of warning message stating "invalid input (or anything given as per FSD) on the screen when the input given is a character (specifically: A)".

If its not given you can note it in your testware (excel sheet) as an observation.---LaterDhrruva

  Was this answer useful?  Yes


  • Mar 1st, 2007

FSD means Functional Specification Document!

  Was this answer useful?  Yes


  • May 11th, 2007

I took only symbols( +,-,*,/) specification

User interface :

1. Check whether the no's and symbols have been presented


1. If any symbols are clicked check whether the symbols are presented on screen
2. Check the '+' symbol
a. If add 5+6 it should be 11
b. If add -5+6 It should be 1
c. If add -5 + -6 it should be -11
d. If add 5 + (-6) it should be -1

I hope u might be understand


  • Jul 15th, 2011

functional specific documet

  Was this answer useful?  Yes

Devender Mella

  • Sep 29th, 2011

FSD means Functional Specification Design.It is maintain the functionality requirements

  Was this answer useful?  Yes


  • Nov 19th, 2014

FSD means Functional Specification Document.
it is used to prepare tester.

  Was this answer useful?  Yes


  • Nov 19th, 2014

FSD means functional specification document.
it is used to prepare test lead.
it has testcase id-functionality- status..
it is used for tester..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions