testcases for the additon of 2 numbers write negative and
postive cases

Answers were Sorted based on User's Feedback



testcases for the additon of 2 numbers write negative and postive cases..

Answer / prashant

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

testcases for the additon of 2 numbers write negative and postive cases..

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

testcases for the additon of 2 numbers write negative and postive cases..

Answer / jitendra255

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

testcases for the additon of 2 numbers write negative and postive cases..

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

testcases for the additon of 2 numbers write negative and postive cases..

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

testcases for the additon of 2 numbers write negative and postive cases..

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

testcases for the additon of 2 numbers write negative and postive cases..

Answer / bush

yes i agree with this answer.

Is This Answer Correct ?    9 Yes 8 No

testcases for the additon of 2 numbers write negative and postive cases..

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

Post New Answer

More Test Cases Interview Questions

How to write test cases on for Logging management?

4 Answers   ABC, TCS,


What is Initial Configuration?

0 Answers  


How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?

1 Answers  


write test case for optical mouse.

8 Answers   Mphasis,


can anybody help me how to write a test case for a program eg: c or C++ ,and also how to check their outputs

0 Answers  






i am preparing for interviews in real time job what test cases we have to prepare please explain with example?

0 Answers  


i was asked to generate test data for a equlateral triangle,please any one explain how to do & what are the process.

5 Answers   AZTEC,


What are the test cases to write to test user account locksout after 5 invalid attempts

2 Answers  


how to test ip address?

3 Answers   Cisco, QSpiders, Satyam,


Can anybody post the format of a Requirement Traceability Matrix. And how to include this RTM in the reqirement document.?

1 Answers  


how to write test cases for sort drop down box containning 6 options in the drop down list.

3 Answers  


write a testcase for tea cup?

6 Answers  


Categories