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

Mention what is variant in vbscript?

0 Answers  


How many types of procedures are available in the vbscript language?

0 Answers  


give me an ex. of unoverloaded method?

2 Answers   Misys,


How can you create an object in vbscript?

0 Answers  


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  






How do I check that the names in a weblist are correct e.g in flight application the names of item are Denver, paris,London, etc. How do I ensure the correct item is displayed from the list after doing item count ?

2 Answers   IBM,


Explain about tristate constants in vbscript?

0 Answers  


How will you convert a string to lower case string using vbscript?

0 Answers  


Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?

2 Answers   HCL,


1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

0 Answers  


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

0 Answers  


How to open excel in vb script?

0 Answers  


Categories