How to find arry size in qtp vb script

Answers were Sorted based on User's Feedback



How to find arry size in qtp vb script..

Answer / eswar

Use ubound method to get the array size.

Is This Answer Correct ?    10 Yes 0 No

How to find arry size in qtp vb script..

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

Post New Answer

More VB Script Interview Questions

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

0 Answers  


Mention how to create a cookie using vbscript?

0 Answers  


How to pass argument by reference to a function in vbscript?

0 Answers  


Difference between Function and Sub routine?

0 Answers   Polaris,


What is the output of a + b in vbscript if a = 5 and b = 10?

0 Answers  






Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

0 Answers  


How are comments handled in the vbscript language?

0 Answers  


What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.

3 Answers   Accenture,


What is difference between vbscript and vba?

0 Answers  


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

1 Answers  


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

0 Answers  


My Salary is 65000. How Much TDS I have to pay

0 Answers  


Categories