Hi Mahesh,
Please find below attached code -
Dim arr(2)
Dim tempName
Dim cnt1, cnt2
arr(0) = "C"
arr(1) = "B"
arr(2) = "A"
For cnt1 = 0 To UBound(arr)
For cnt2 = 0 To UBound(arr)
If arr(cnt1) < arr(cnt2) Then
tempName = arr(cnt1)
arr(cnt1) = arr(cnt2)
arr(cnt2) = tempName
End If
Next
Next
For cnt1 = 0 To UBound(arr)
print arr(cnt1)
Next
Thanks...
Akhalesh yadav
On Fri, Jan 22, 2016 at 3:05 PM, Maheh Khanna <[email protected]>
wrote:
> Hi All,
>
> I have array like ArrayList(C,B,A) so that i need to sort this array to
> get ArrayList(A,B,C)
>
> do we have any methods.
>
> Thanks,
> Mahesh
>
> --
> --
> 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 Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Akhalesh yadav
+919555717928
+919310680659
--
--
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 Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.