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 |
How will you get the smallest subscript of an array in vbscript?
1)How to test whether items in a weblist are in alphabetical order or not?
Description.Create
What is the use of the recordset object and which statement is used to create such an object?
Input = 124 output should be 124421 Please do not use any string functions/variables
How to Convert Hex color code to color name in VB Script?
How many data types are supported in Vbscript?
what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is manu.sanepalli@gmail.com
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program
How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in
Which constant is used for print and display functions and works as same as pressing enter key?