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 |
write a text script to display * as below ********** **** **** *** *** ** ** * * * * ** ** *** *** **** **** **********
Which operator is used to concatenate the 2 values in the vbscript language?
what is the function to display current date?
Differentiate javascript and vbscript?
Mention how to assign a date value to a variable?
What is the scope of a constant declared using public?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
What is vbscript language used for and which earlier language is it modeled upon?
How do display output message without using msgbox function?
What are the different types of loops available in the vbscript language?
How to take whole text output from screen of Bitmap Application.
Explain about adodb.stream class?