testcases for the additon of 2 numbers write negative and
postive cases
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
How to write test cases ?
write test case for optical mouse.
How we apply Test case like integration testion on calculating result or for calculation GPA..... plz urgent need???:(
how to write test cases for testing databases,especially for testing and writing test cases for stored procedures.any real time database testers.please answer me. some real time database tester please answer my question as soon as possible.my need is such that. else mail answer at ina.ref@gmail.com
What is the role of QA in a development project?
why do we need test cases?
How to execute test cases written in excelsheet???
8 Answers TCS, Value Labs, VFS, Wipro,
Give examples of boundary value and equivalence partitioning test cases.
For example out of 100 test cases if I ask you to automate how many you can automate?
13 Answers HCL, MBT,
Can you list down a few characteristics of a test case?
There is a web portal that has been tested and working properly. Now a new module called as the "online shopping module" had been added. Ther are two search pages , a normal search and an advanced search page. You are responsible for only these two modules for testing Questions 1) Write the scope for testing 2)High level test scenarios 3)Test case for one high level test scenario 4) Assumptions while writing the test case 5) Questions that u might need to ask as a QA to test the application NOTE- the requiremnts wont be given. One has to assume the requirements Please tell me how to test a search page and also please help me answer the above questions
2 Answers Infosys, Zycus Infotech,
Do you write test plan and test case?