No Image

How to do string reverse in qtp

February 4, 2017 Sharath Chandran 0

How to do string reverse in qtp How to do string reverse in qtp Dim String1, String2, StringLength, i String1 = “Happy Valentine’s Day” StringLength = len(String1) For i = StringLength To 1 step -1 String2 = String2 & mid(String1, i, 1) Next […]

No Image

Highest number in array

February 4, 2017 Sharath Chandran 0

How to find the Highest number in array Highest number in array Dim Num, i, ArrayLength Num = Array(1,3,4,2) ArrayLength = Ubound(Num) For i = 1 To ArrayLength If (Num(i) > Num(0)) Then Num(0) = Num(i) End If Next Msgbox Num(0)