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 the test cases for STP
Write test cases for orkut?
If there are 3 modules what would be test for that three modules but that 3 modules are not developed or what are the test case for that 3 modules
Given the following: Switch PC on Start "outlook" IF outlook appears THEN Send an email Close outlook A. 1 test for statement coverage, 1 for branch coverage B. 1 test for statement coverage, 2 for branch coverage C. 1 test for statement coverage. 3 for branch coverage D. 2 tests for statement coverage, 2 for branch coverage E. 2 tests for statement coverage, 3 for branch coverage
in any software company how we got the srs document.how we get it is it available in version control or in mannual we get the document
7 Answers AppLabs, Pinsoftek Infosolutions, TCS,
How you will write test cases on DROP DOWN list BOX on GUI
Can any one please give me a test case for transaction of money thro' mobile phones. I really need it soon. i need the test case in ieee format.please anyone help me.
What is rhinohunt testing? urgent pls send the answer soon
While doing export to Quality Center it always shows Excel file does not respond???? Please suggest as why it is happening??
Write a test case for a car, which has been, recently launch in a market to check its durability, fuel efficiency and its optimum speed.
please tel me how to write test case for search engine to track peoples,when user enter the city,state,zipcode(ex:Kansas city,Missouri,64155)? (note country is already selected as a united states )
If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one