Answer Posted / 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 |
Post New Answer View All Answers
What are the differences between stlc and sdlc?
what is base time , how can we base time your doc"s ?
What is the difference between a defect and a failure?
What is ofx testing?
What is the difference between coupling and cohesion?
How can you define state tanstion testing aswell decesion testing with examples.how you can differ them too??
how we write test cases to brs,srs,hlds,llds
Can test condition,testcase and testscript help u in performing the static testing
which of the following is not a coding defect? Option 1 Test harness defect Option 2 Data flow defect Option 3 Initialisation defect Option 4 Algorithmic defect
What a team leader will test first when s/he will get new module to test?
What is a code walk through?
Can you explain usability testing?
give me a example of writing a test case,take any good example which i can understand easily.
where do we work with Application, web and Database servers Means which type of applications.
What and why is api testing?