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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

"search"test cases on Linkedin website and how will you write test cases on it?

5689


Explain the load testing?

639


In manual testing, I have query regarding data conversion testing. I am working on xml document. How do we write test cases for below input as well as for output Input: 1. software Testing Output: 1.software testing

1373


Write the test case for a login page?

725


plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...

1903






write test case for button of google page?"i am feeling lucky" if button is not appear on page?

2551


Requirement from Market “Alice is talking to Bob. Bob thinks that Alice should talk to Chris for more information. Currently, Bob will pass on the directory number of Chris to Alice; Alice/Bob will disconnect the call and then Alice will initiate a new call to Chris. What we need need, Bob should be able to transfer the call to Chris, without Alice making another call.” Implementation done by Unified CM Development Team When a basic call is connected, a new softkey “Transfer” will be displayed on the IP Phone. User (say, Bob) can press that and dial a target (say, Chris). Bob has two options (1) wait for Chris to answer and then tell Chris about call from Alice and then press “transfer” again to complete transfer (2) press “Transfer” immediately; when Chris answers he will be connected to Alice Please come up with test cases thinking from a user perspective, let’s say from a Bank (there could be users such as receptionists, accountants, managers etc.) – in what all scenarios transfer can happen, any negative scenarios (cases where we don’t get a positive response always). If you think you need an enhancement to the feature, please go ahead and suggest that as well.

3078


how to write test case for GUI testing and tell me in brief about GUI and all related WEB based testing..if possible then pls give example of its test case...m new in testing........thannx for help in advance

3372


Explain the syntax testing?

679


How should I maintain the test cases and Test Log for different versions/builds of the application.

1967


How to write test cases or test scripts for UAT testing which is done manually

4945


How to write the test cases for STP

5105


Write test cases for 8+4?

756


write the test cases for facility module

1219


write test case for pen cap if it is not present?

2101