testcases for the additon of 2 numbers write negative and
postive cases
Answers were Sorted based on User's Feedback
positive cases
1. enter 1st no
2. enter 2nd no
3. enter or press addition(+,button).
4. check the final result is ok or not.
negative cases
1. check only numeric digits should be accepted.
2. check only 2numbers are entered or not entered three or
more numbers.
3. check the addition(button) is working properly.
4. check result is ok or not.ie.(2+2=4)
Is This Answer Correct ? | 57 Yes | 18 No |
Answer / rkul
For negative testing we can -
leave fields for two numbers blank and try to press + sign and see result.
Is This Answer Correct ? | 26 Yes | 6 No |
possitve
1. Enter 1st no in -ve decimals
2. enter 2nd no in -ve decimals
3. enter addition button [+]
4. check the final result
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / anu.gdy29@gmail.com
negative test case:
1)enter 1st number
dont enter 2nd number.leave it blank
check the answer.
2) enter alphabetic character as 1st number(check if it
takes alphabet)
enter 2nd number(numeric)
check the answer
Is This Answer Correct ? | 11 Yes | 6 No |
Answer / mukta gupta
Test Cases should also include:
1. Addition of negative intergers
2. Addition of floating numbers
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / gangadhar mahabubabad
POSITIVE TEST CASES; ENTER THE 2 NUMBERS AND PRESS ADD BUTTON
NEGATIVE TEST CASES :1) ENTER THE SPECIAL CHARACTERS AND ADD.
2)ENTER ONE NUMBER AND ONE SPECIAL CHARACTER...
Is This Answer Correct ? | 7 Yes | 3 No |
Answer / kaushi
enter some integers such that the sum is greater than the maximum value integer can hold i.e attempt to break the function by overflowing the result
Is This Answer Correct ? | 0 Yes | 2 No |
Please share all possible positive and negative test cases for SQL reporting services.
how to prepare unit test scripts for accrued interest calculation.
Can someone please explain me the life cycle of DAtabase testing,iam pretty good at SQL but i dont know anything about how to start the testing(backend especially),how and where to write test cases for backend testing?how to take snapshots?how to report the bugs....as simple i know SQL and i know working on quality center but how to work on both together?Please help me!!!
how to write testcase for the output of an program ****0 ***01 **012 *0123 01234
If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date
how to test stand alone programs?
What is gray box testing?
Write a test case for yahoo
testcases for the additon of 2 numbers write negative and postive cases
8 Answers CoStrategix, Societe Generale,
Write the functional test case for opening a user email account on any website(like yahoo rediff,gmail)
can u tell me how do we writetestcases for perfomance,load,And stress?
could somebody plz tell me the test cases on online credit card payment?