How to find arry size in qtp vb script

Answer Posted / eswar

Use ubound method to get the array size.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can the spaces from the string be removed?

815


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

2834


What are the data types supported by vbscript?

824


Explain the functionality of vbscript?

726


How will you get the last occurrence of one string within another string using vbscript?

974


Mention what is byref and byval parameters in vbscript?

795


What are the special sub-types in vbscript?

784


Which event is triggered when mouse focus comes out of an element in the vbscript language?

732


How to add actions in driver script to run those actions in QTP?

1733


How will you get the smallest subscript of an array in vbscript?

1120


what is the use of QCUtil? explain with one example?

6694


How to access array data?

770


Mention what if you do not specify anything when you call a procedure?

777


Which data type/types are supported by vbscript language and what are their specialties?

827


i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

2047