Test sorting through QTP
Posted
by
onkar
on Stack Overflow
See other posts from Stack Overflow
or by onkar
Published on 2014-08-18T10:57:16Z
Indexed on
2014/08/18
22:20 UTC
Read the original article
Hit count: 230
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.
© Stack Overflow or respective owner