Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

1)How to test whether items in a weblist are in alphabetical
order or not?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to display configuration of a local system with the help of vb script.

2171


How many types of operators are available in the vbscript language?

1009


Which constant is used for print and display functions and works as same as pressing enter key?

1047


Which data type/types are supported by vbscript language and what are their specialties?

1101


What is the difference between VBScript and JavaScript?

2790


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

1098


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

2251


can anyone tell me the procedure of interview held in applabs

2249


What is the use of the recordset object and which statement is used to create such an object?

1016


when we use filter funtiom invb script(QTP)

2838


How are comments handled in the vbscript language?

1054


Explain a few date functions in vbscript

1030


Explain about the functionality of vb script?

1034


What are the special sub-types in vbscript?

1112


How will you check that a variable is an array in vbscript?

1054