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 |
Explain about constants in vb script?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
How to Import data from a file (file is on the desktop) to the data table
how to automatically update the sql server2005 database records when insert in vb6?
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
give me any information abou vb script books learn quckly
What are class variables?
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
how to write basic programs in VB Script like addition, multiplication?
Write VB script to convert from feet to inches(hint 1feet=12 inches)
Which operator is used to concatenate the 2 values in the vbscript language?
Can anyone send me a vb script function for verifying the functionality of active links on a web page