Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write test cases forthe function f=a+b ?

Answers were Sorted based on User's Feedback



write test cases forthe function f=a+b ?..

Answer / shailaja

For the addition of two numbers we have to test the
following things...
1)Valid criteria
2)Invalid Criteria
3)Blank
Tc1:Valid data
1)Enter valid data for a &b check f value
Tc2:Blank
1)Enter value for a and keep b as blank and test the
functionality
2)Enter value for b and check the functionality
3)Both are blanks check the functionality


1)a+ve value,B negative value(Vice versa)
2)A some value b is 0(vice versa)
3)Decimal values for both the fields
4)one decimal and one normal digit
5)Check for alphanumeric values
6)Enter space before,middle,end entering the value
andcheck the additon
7)special characters
.so many things are ther to consider the things ...

If anybody asks u to write testcases first ask them to give
clear requirements so that depends upon that we can write
the test cases..
here in this case we dont know the type of variables a&b
if we know the type of variables we can write as per that ..

please let me know that if write anything wrong....

Is This Answer Correct ?    17 Yes 2 No

write test cases forthe function f=a+b ?..

Answer / kamal

1) enter the value a
2) enter the value b
4) add the two numbers and store in f
3) verify the addition of two numbers with value in f

Is This Answer Correct ?    10 Yes 1 No

Post New Answer

More Manual Testing Interview Questions

what is migration testing?

1 Answers   Cap Gemini, HCL,


What is ecp (equivalence class partition)?

0 Answers  


5 positive and 5 negative test cases for yahoo login window

6 Answers   IBM,


my mail id is mudaseer123@gmail.com and password:qwertyiop but if i enter mail id in capital letters and password correctly should then what will happen?does it display login failed?

1 Answers  


What is the exact difference between retesting & regression testing? Please advise in detail

7 Answers   IonIdea,


How can a LOG for testcases be maitained which can give information about a TestCase that is it new one or has been occured in previous versions of the software.

0 Answers  


What is meant by Error Guessing?

9 Answers   IBM,


list out types of white box testing with breif explain? some body told seven types are there, plz give me ans. karthis4u@gmail.com

5 Answers  


How can write testcases on a code under development pls give asnwer

0 Answers  


How can I done a Web Testing? Which steps are include in it?

0 Answers  


what is the testing process if water fall is the sdlc model

3 Answers   Wipro,


Our software designers use UML for modeling applications. Based on their use cases, we would like to plan a test strategy. Do you agree with this approach or would this mean more effort for the testers.

0 Answers   Ordain Solutions,


Categories