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 to increase the values in text box in a given text box increament by two values by clicking on button
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.
How to write Descriptive programming in .VBS file i wrote this code but it is giving error.. Dim qtApp set qtApp=createobject("QuickTest.Application") qtApp.Launch qtApp.Visible=True Set objIE = CreateObject("InternetExplorer.Application") objIE.visible = True objIE.Navigate "www.gmail.com" browser("title:=gmail").title("title:=gmail")
Why to use option explicit 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
Explain about tristate constants?
i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false
what is the use of Data base check point ?
When does ‘on click of button’ event gets triggered in the vbscript language?
Which in-built function related to an array joins substrings into one string in the vbscript language?
Difference between dim,public and private variables in vb script?
what is test scenario?