write the test cases for a+b=c?

Answer Posted / srinivas

another test case could be use one negative number and
another positive number final the result is a+b=c

Declaration the variables a=10 and b=-5
Expected Result is 5

Actual Result is 5
Status is Pass

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the technology used in financial applications?

2902


1 Tarot 1.1 Purpose - Tarot tool will duplicate the tarot-reading process for the user online. - Tarot is a craft that uses a deck of 78 cards to predict a user’s past, present and future. - The cards are picked by the user and arranged in a specific spread, which represents points in his past, present, and future; based on the meanings of the cards selected, interpretations are given. 1.2 Scope Only for registered user. 1.3 User Interface User Interface: 1. Question – This is only for user experience, and has no bearing on the formulae / process. Simple long text box. 2. Selection of field – radio button selection of 1 of 3 choices(Love, Career, Personal), which affects 1 of 3 card- meaning databases to be used. After selection, the unselected databases do not affect or interact with the system. 3. Spread Selection – radio button selection of 1 of 3 choices(Celtic Cross, Horse Shoe, Simple 3 Card). This determines the number of cards being picked and the specific spread database to be used. This also affects the specific report format being used, as well as the card- selection GUI. 4. Card Selection – based on the input 3, a specific layout is shown where the user needs to identify X number of cards (X also determined by input 3) which are then shown in the spread. Every card selection identifies the spread position constants (A, B, C, etc) with specific variable values (Card numbers) creating an array. Report format will display on a separate new page, in the following sequence – - Statement of question asked - Selection of field - Selection of spread - Detailed description of position data, positions identified as per spread selection - Card meaning as picked in field selection 1.4.5 Interfacing/Sourcing Details 1.4.5 Rules and Conditions - Data needs to be calculated for all fields, but only a maximum of 3 cards data should be shown in the free report. For the rest, a payment would be required. - Payment reports not in phase 1 - The report needs to be emailable (so functionality to convert to text file / html document should exist, which will then be emailed to the user’s email address).

2228


If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one

1943


1.If there are so many test cases to be run suppose (100).How will we run those test cases.(using batch) 2. How will we perform over riding in QTP can any one please give me script. thanks

2194


how to write test cases for smart meter for gas and electricty

2437






Explain the format of a requirement traceability

619


Explain the soak testing?

677


What is the syntax testing?

684


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

1810


how to write test cases for online restaurant table booking system?

10393


Explain the exactly meaning of test case?

688


Explain the unit testing?

659


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

1663


What is the toughest moment you faced in your testing carrier in which everyone praised you?

1806


Do you know mutation testing?

690