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 |
how to write test cases Interactive Elements like Social Bookmarking Post a Comment Number of Views Existing Rating Rate this Add to favorites Track this Author Print this Guess who
User registration form so many details will be there to enter like Username,Phone No,Email id ect.how do we write test cases for that? in one textbox i have to write all the test cases and go to next textbox
how to test ip address?
3 Answers Cisco, QSpiders, Satyam,
how to write test cases for sort drop down box containning 6 options in the drop down list.
i'm confused to wite a Test Scenarios. can any one help me how to start?
Write test cases for this scenario if a job fails it should get restarted again this should happen for three times if it fails again then it should quit?
Write the 3 TestCases to prove tht it is a softdrinkbottle or not.
How you test IP address
You have to give me test cases for sending a mail through outlook express.
test cases on Fan
how to write a test cases for courier offices?
What is mean by Equal Partitioning