Answer Posted / sonal.pagare
You can force VBScript to require all variables to be
explicitly declared by including the statement Option
Explicit at the start of every script. Any variable that is
not explicitly declared will then generate an error.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the naming conventions while declaring a variable in the vbscript language?
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
How will you get a combined string from array of string in vbscript?
What are the special sub-types in vbscript?
How to open browser in vb script?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
Which in-built function is used to format the number in the vbscript language?
How will you get a random number between 0 and 1 in vbscript?
what is the use of QCUtil? explain with one example?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
How should i Create Email invite with server-side Coding?
How to create a cookie using vbscript?
There are 5 web pages.write a script to click the button on 4th web page.
Can anyone send me a vb script function for verifying the functionality of active links on a web page