1)How to test whether items in a weblist are in alphabetical
order or not?
Answer / vikas choubey
For i=0 to Ubound(arrCtry)
If arrCtry(i)<>"--Choose One--" Then
objArray.Add(arrCtry(i))
End If
Next
objArray.Sort()
objArray.Insert 0,"--Choose One--"
For j=0 to Ubound(arrCtry)
strOuput=strOuput+objArray(j)
strOuput=strOuput+";"
Next
If
strOuput=Browser("name:=QTP").Page("title:=QTP").WebList("name:=select1").GetROProperty("all
items")+";" Then
Msgbox "The Weblist's values are sorted in alphabetical order"
Else
Msgbox "The Weblist's values are not sorted in alphabetical
order"
End If
| Is This Answer Correct ? | 1 Yes | 1 No |
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
Why is it recommended to close the database connection every time after the work is completed?
Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?
did any one attended interview in applabs if you had gone through plz tell me the procedure
what is diff between static and dynaic arrys?
How will you get the octal value of the given number in vbscript?
How to Enter Values on the Command promt using VB script
What is the use of the instr function?
Explain the difference between POST and GET Method.
Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
Why is the use of exit do or exit for statements within loops discouraged?