testcases for biggest of three numbers?plz give the answer
Answers were Sorted based on User's Feedback
Answer / vikas pujar
I feel. Since code is already in place to verify biggest of
3 numbers we just need to input some combinations:
1) All three same numbers check wat is the result. Eg:
999,999,999
2) Two numbers same and verify result : Eg - 500,500, 400
3) Bounday Value Analysis Eg: 499,500,501
Is This Answer Correct ? | 26 Yes | 2 No |
Answer / smitha
1.Try to enter 4 numbers and submit, the form/field should
not accept more than 3 numbers.
2.Try to enter 2 numbers and submit,the form/field should
not accept less than 3 numbers.
3.Do not enter anything and see the result....it should
prompt to enter numbers.
4.Enter alphabets,special characters and check the result.
5.Enter integers(negative and positive),decimal numbers etc.
6.If the three numbers are of integer data type, try
entering float data type.Check with other data types also.
7.Enter very large numbers/small numbers and check.
Like this we can add many more test cases depending on the
Specifications or Requirements document.
Is This Answer Correct ? | 12 Yes | 5 No |
Answer / pravin
First Compare 3 numbers if first one is bigger than other 2
numbers then 1 number is biggest else campare other 2 value
and check whether second number is grater or third no. is
grater. if 2nd number is grater than 3rd number then 2no. is
the biggest number else 3number is the biggest number.
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / jagadish
the guys both answered is not correct as the question it
self says no boundaries of text box but asked as the biggest
of three numbers.
this is try to check the biggest of three no by if else
conditions checking each one by other thats all
if more clarity mail me at jagadishk.9454@gmail.com
Is This Answer Correct ? | 2 Yes | 5 No |
test cases for biggest 3 numbers
1> 999 = valid
2> 9999 = invalid
3> 99 = invalid
4> 009 = invalid ( as it is same as 9)
5> space = invalid
6> alphabets / special characters = invalid
7> negative number = invalid
8> decimals = invalid
Is This Answer Correct ? | 5 Yes | 15 No |
How to write testcases for username creation?Given requirements are min 6characters,atleast one alphabet,alpha,alphanumric
can any one give the format of writing test cases in excel sheet.
plz explain vss?
Write the functional test case for opening a user email account on any website(like yahoo rediff,gmail)
Which testing is important, positive testing or negative testing. Test cases for postive and negative testing for a given functionality.
how to test stand alone programs?
write the test cases for how do u send a message in mobile
What is the domain testing?
can one give the test cases for Installation Testing
Explain the logic testing?
do we write separate test cases for each type of testing? for example for functional testing and integration testing,we write two seprate test case documents or just one?please explain.
Positive and Negative test cases for the speedometer?(minimum 5 each)