write test cases forthe function f=a+b ?
Answers were Sorted based on User's Feedback
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 |
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 |
PLEASE PLEASE READ FULLY & HELP ME... IT IS VERY VERY URGENT.....
What r the functional testing u perform?
Test Cases design during ??? four options are given below. Which 1 is correct... 1. Test recording 2. Test Planning 3. Test configuration 4. Test specification.
which situation will decide the approach (topdown/bottom up) to choose from?
i am 2007 passedout,i completed B.Tech(E.C.E).i am interested in testing(manual testing).In manualtesting without experience how can i get the job.first of all manual testing py grip vundadaniki nenu ela prepare kavali
What is the difference between functional specifications and business requirement specification?
how can we do database testing. In database testing we verify the data integrity and data validation. how can we do testing of Index, triggers, views, ransactions,cursors etc
What is Component Testing? How to do Component Level Testing?
can anyone give FULL DETAILS on ATM scenarios, test cases and test cases PURPOSES
If there are so many bugs open and still the client want the s/w what will you do?
while reading specification documents if u got any doubts or u think the specification should be clear or when u think some changes should be there in specifcation docs, or u find the difference in FRS and Design docs,whom do u report this??
Explain about Bug life cycle?