I need any two Positive and Nagative test cases on calculator.
NOTE : [I][This question was asked by shivasankar][/I]
Printable View
I need any two Positive and Nagative test cases on calculator.
NOTE : [I][This question was asked by shivasankar][/I]
+ve Test case
you can take any valid integer for basic functionality
eg. 12/12, 12* 12, 60-22
-ve Test case
you can take any -ve approach case
eg: 0/-0, 0/0 , -0/-0
thnx Amit ! i got an idea....actually the format given to us was quite abnormal since it varies from project to project...
thnx for ur help
:) hi.
[COLOR="Blue"]Positive test cases:[/COLOR] ordinary calculations ie, 2+2,4*4,5/5.
result should be correct and acceptable.
[COLOR="Blue"]Negative test cases: [/COLOR]
1. 5/0
2. 0/0
3.pressing more than one button at a time should not
work.
Hey thanx Merlin:) ! I got the answer but again you have to be very specific regarding the test cases.
like
in case of 2+2
Precondition is : Textfield should display "0. and not "0"
When you presss 2 expected result should be "2." and not "2"
hope you got it.
Thnx for replyn the thread ....Catch u some other time
:)