write the test cases for a+b=c?

Answer Posted / karthick

DESCRIPTION: Check whether a+b=c.
PROCEDURE: Step1: enter any value for a.
Step2: enter any value for b.
step3: a+b=c
TEST DATA: Suppose a=5 , b=5
EXPECTED RESULT: 5+5=10 ie:c=10
ACTUAL RESULT: ....... (leave the actual result column as
blank). when executing the testcase, expected and actual
results should be same.

STATUS: If E.R = A.R ( status is PASS)
If E.R is not equal to A.R (Status is FAIL)

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

2099


What is test environment? Elaborate with example.

654


Explain the format of a requirement traceability matrix. And how to include this rtm in the requirement document?

727


Positive and Negative test cases for the speedometer?(minimum 5 each)

2380


You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. If width > length then biggest_dimension = width else biggest_dimension = length end_if the following has been added to the bottom of the code fragment above. Print 'biggest dimension is ' &biggest_dimensionprint 'width: ' & width print 'length: ' & length how many more test cases are required?

918






Do you know mutation testing?

707


Can anybody help me in writing test cases for a scenario? need help at the earliest. will send you the requirement doc to your email id. thanks raj

1829


how to prepare a test case for online restaurant table reservation system. plz give an answer ASAP, email at suja_rvndrn@yahoo.co.in

5178


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

2100


write a test case for telephone billing ?

3909


Write test cases for this scenario if a job fails it should get restarted again this should happen for three times if it fails again then it should quit?

1942


Explain the load testing?

647


What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

2498


can anyone send me a copy of a business requirement and test cases attributed to such requirent. thank u

1674


how to write test cases for the example state name starts with A B C D E F G H I J K L Z

2093