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

Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

0 Answers  


What purpose does ‘on error resume next’ serves?

0 Answers  


Mention when to use function procedures and what are its characteristics?

0 Answers  


what is event handling?

0 Answers  


I have a webtable and many objects are embedded in side.(like buttons,checkboxes etc). How to know how many such objects are there? what is the class of that objects?

1 Answers   HP, TCS,






How you can call vbscript functions?

0 Answers  


How can you create an object in vbscript?

0 Answers  


Mention how to access array data?

0 Answers  


Explain about filter expression?

0 Answers  


Is VB Script Case sensitive or Case insensitive?

0 Answers  


How are values assigned to string type and numeric type variables?

0 Answers  


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

0 Answers  


Categories