How to find arry size in qtp vb script
Answers were Sorted based on User's Feedback
Answer / lakshmi.b
UBOUND method
this function is used to retrive the maximum index size
specified dimenctions of the arry
syn:
UBOUND(arrayvarible,1)
msgbox=UBOUND(arrayvarible,1)
| Is This Answer Correct ? | 4 Yes | 1 No |
Write a Fucntion to close all Opened browser expect desired one?
how to operate webobjects in a webpage using getobject function and then using generic methods?
i have developed the below QTP script to count the no of items available in the web list "Select a product" in www.bankrate.com and also want to print what are the items??? can any one help me to rectify the below script??? SystemUtil.Run "iexplore.exe","www.bankrate.com" a=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetTOProperty("items count") msgbox a Dim List() ReDim List(a-1) For i = 1 To a List(i-1)=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page ("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetItem(i) Print List(i-1) Next
How can you have different number of cells for each row of a table in HTML?
Check whether given Number is Even or Odd?
what is the use of Data base check point ?
Mention what is byref and byval parameters in vbscript?
write a vb script to generate hello 5 times using do until loop
what is the difference between modular and data and keyword driven framework
how to add the shared repository file to the script file while running the script manuall
what does create object actually do when you call it in vbscript?
What are class events?