Test sorting through QTP
- by onkar
There is a java table in my application which has 1 column & 5 rows. Contents of rows are as below. These contents are arranged in descending order
172-18-zfs
MKTLAB
NFSVOL
datastore1
datastore1(1)
after clicking on column header it get sort in asceding order & order is like this
datastore1(1)
datastore1
NFSVOL
MKTLAB
172-18-zfs
Through QTP i want to check whether this sortig is correct or not.
I have used sort() method of dictionary but it doesnt give expected result. It just sort according to alphabatical order.
In expected sorting order 1st priority should be to small letter then to capital letter then to number.