pliz anyone give suggest me the test cases for shorting
numbers in asc/desc order.
Answers were Sorted based on User's Feedback
Answer / ganesh
1) enter both +ve and -ve numbers and sort.
2) Enter decimal numbers as .01,.001,.0001
3) Enter numbers in asc/desc order and try to sort.
4) enter numbers with 0 preceding them like 010,08,09,011.
5) try entering large numbers,99,999,9999,99999
6) enter same numbers.
Hope this helps.correct me if I am wrong.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / rituparna
1.Enter few numbers in random order.
2.Check whether it is displaying in Ascending or Descending
order.
3.If same number is entered several times then the number
can be distinguished by ROW ID(Data base concept).
4.Enter decimals in between two numbers (Like 25,26.08,27)&
see whether it is displaying in Ascending or Descending
order.
5.And but obvious check for alphabets,spaces,special
characters,it should not accept it.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / raghav
You ve to test the asc/desc functionality
So..
Enter few random numbers, & test for asc & desc
Enter all same numbers like 1,1,1,1 etc & see the behaviour
of the prog
if prog accepts only numbers then try : spl characters
alphabets etc
ther might be many possibilities .. try to see how it
behaves if invalid data is entered
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sudha sarali
Pre-requisite:
1. you should have some random numbers say n
Testcase
1. search for a number which is smaller (from n numbers)
2. Move the selected number to first position(say i)
3. search for a number which is smaller in n-1 numbers
4. Place it in (i+1)th position
5. Repeat step 3 and 4 till all the numbers are done
| Is This Answer Correct ? | 2 Yes | 2 No |
how do you write the test cases?
when we should start writing test cases?
10 Answers Thatavarti Technologies,
Please give me some example of the test cases to test the Google map search
I have s/m which gives me square of numbers from 1 – 10000. How do u test it.
What is the correct answer of basic types of test cases ?
How to test Webservices and how can we write test cases for that
test cases for calculator ,this should accept integer form +99 to -99(perform addition operator).need to raise defects
Give me a sample test case for an online purchasing system?What testings u do for the same ?
8 Answers Flipkart, NIIT, Polaris, SQTL, TCS,
what is the process of testing
What is the smallest number of test cases required to Provide 100% branch coverage? If(x>y) x=x+1; else y=y+1; while(x>y) { y=x*y; x=x+1; } A. 1 B. 2 C. 3 D. 4
how to write testcase for the output of an program ****0 ***01 **012 *0123 01234
how many checkpoint u have to used