Avinash,

Refer the below link for more details regarding what Aniket has suggested:

*For Non Numeric Values*
http://qtpcodes.blogspot.com/2010/03/how-to-check-elements-in-weblist-are-in.html
*
For Numeric Values*
http://testeverythingqtp.blogspot.com/2011/06/validation-of-sorting-in-webtable-qtp.html

Just change the code as per your requirements.


Regards
Shalabh Dixit



On Wed, Aug 3, 2011 at 7:48 PM, Aniket Gadre <[email protected]> wrote:

> No..you need to write ur own function... Take the values in array and keep
> comparing consecutive values...else take 2 arraylists from dot net factory
> fill both with values...use sort function on one array and compare both
> arrays
>
>
> On Wed, Aug 3, 2011 at 7:29 PM, avinash vl <[email protected]> wrote:
>
>> Hi all,
>>
>> I need to check whether the row data(non-*numeric*) is sorted. Is there
>> any build in function? or how can we check that?
>> Please help.
>>
>> Kind Regards,
>> Avinash
>>
>>  --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>
>
>
>
> --
> Best Regards,
> Aniket Gadre
> Senior SME - Test Automation
> Amdocs , Pune.
> E-add: [email protected]
>
>  --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to