write test cases forthe function f=a+b ?
Answers were Sorted based on User's Feedback
Answer / shailaja
For the addition of two numbers we have to test the
following things...
1)Valid criteria
2)Invalid Criteria
3)Blank
Tc1:Valid data
1)Enter valid data for a &b check f value
Tc2:Blank
1)Enter value for a and keep b as blank and test the
functionality
2)Enter value for b and check the functionality
3)Both are blanks check the functionality
1)a+ve value,B negative value(Vice versa)
2)A some value b is 0(vice versa)
3)Decimal values for both the fields
4)one decimal and one normal digit
5)Check for alphanumeric values
6)Enter space before,middle,end entering the value
andcheck the additon
7)special characters
.so many things are ther to consider the things ...
If anybody asks u to write testcases first ask them to give
clear requirements so that depends upon that we can write
the test cases..
here in this case we dont know the type of variables a&b
if we know the type of variables we can write as per that ..
please let me know that if write anything wrong....
Is This Answer Correct ? | 17 Yes | 2 No |
Answer / kamal
1) enter the value a
2) enter the value b
4) add the two numbers and store in f
3) verify the addition of two numbers with value in f
Is This Answer Correct ? | 10 Yes | 1 No |
why did u choose software testing as ur profession????
hi, im priyan.hi friends..pls send genuine answers. don,t send half knowledge answers pls pls pls..its about life & carier matter.i faced so many problems in interviews.so pls pls SEND PERFECT ANSWERS.... TANK U EVERYBODY........
What is security testing?
What parameters are you testing for as a Systems Tester ?
What is the difference between Regression Testing and Retesting?
what is ur favourite bug?
What do you do in this application?
what ways u followed for defect management
What do you do (with the project staff) when the schedule fails?
hi friends... this is priya.i had 1 year of experiance in manual testing from jan-dec 2011 in a reputed level 5 MNC and my CTC is 3.25LPA . recently i cleared 2 rounds of technical and after 3days i will have hr interview in a CMMI level3 company... in hr interview they may ask about expected ctc.what i should answer for this question? i had more than a year gap, so what package i can expect? same CTC or some % of hike?
1.when do we start testing and explain briefly please assp 2.when will we stop testing friends tell me immediatly
Could anybody tell me types of testing involved when the project is at maintenance.