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 case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen
What is quick test professional and what test environment it supports?
What are the properties of a good requirement?
write test case for white board marker.
Write all test cases for Bus Pass Renewal
How to write test case for this scenario. The system shall allow the user to request a search for a case using the following mandatory parameters: Last Name First Name Case creation date range
Explain the branch coverage testing?
1 Crystal Ball 1.1 Purpose This is a simple tool, for entertainment purposes only. 1.2 Scope Only for registered user. 1.3 User Interface Single page with graphic of crystal ball, and text box for typing question. User has to type her question in text box outside ball. Reports: - On ‘submit’, the system needs to access any one of the pre-stored responses at random and display in a graphical, visually appealing manner in the crystal ball. - Audio / graphical changes need to be built in, for added user experience enhancement, like music, sound effects, visual changes. Need to get details.
What are the test cases, we can write for Data Grid. Anybody can help me..Thanks in advance.
I need GUI test case for home page?
how to write the test case for 1 to 12 months in equivalence partitioning?
What is the role of QA in a company that produces software?