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
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Explain about vb script?
How will you get the largest subscript of an array in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
Which in-built function is used to format the number in the vbscript language?
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.
Mention what is vbscript?
How to write functions and sub in vb script?
How you can call vbscript functions?
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
What is loose binding? Why is it not a good practice to use it?
what is the difference between modular and data and keyword driven framework
Write a Script for ATM in QTP
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
Which function allows you to instantiate an object given its programmatic identifier or progid?