How to find arry size in qtp vb script

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2775


How to write functions and sub in vb script?

822


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

770


Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble

2268


What are the different types of loops available in the vbscript language?

741


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1133


In what way program "hello world" you can write in vbscript?

888


Explain about arrays in vb script?

799


What are class properties?

886


How will you get the exponent of the given number in vbscript?

787


what is the features of visual basic?

1767


Explain the asc function?

694


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

713


How will you convert a given number to long in vbscript?

678


after medical test,when will be the police verification

1922