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
Explain the monkey testing?
How to write test case for this scenario. The system shall auto populate the Email Address on the contact screen with the Email Address of the user profile
How to write test cases for manual testing? What are the main syntex for writing test cases for Junit?
Why is it that the boundary value analysis provides good test cases?
What is the logic testing?
How to test a stored procedure?
Explain which test cases are written first black boxes or white boxes?
Please guide me for Add new user test cases
Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com
Explain the gray box testing?
Can anybody help me out to write test cases for booking train ticket online???
Roads concatenation Problem
Consider we have some GIS (Geo Information System) operating
over some road network. Each road represented as array of
two-dimensional geographical points. Road network is a set
of roads.
System has function called Concatenate(). This function
takes raw road network and should return optimized road
network. Optimization lies in concatenating roads with
matching start or end points, i.e. if road AB end point
matches road BC start point, then optimized network should
contain concatenated road AC. Optimized network shouldn’t
contain two roads which can be concatenated.
Your task is to suggest set of test cases for Concatenate()
function in order to make sure it works correctly.
public interface IPoint
{
double Lat { get; }
double Lon { get; }
}
public Road : List
How to write test cases for lift?
Explain the integration testing?
Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?