What is the use of "Option Explicit"?
Answers were Sorted based on User's Feedback
Answer / 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 |
"Option Explicit" statement is used to declare variables and
arrays on the top of the script.When this stmt in script ,QTP
can allows all variables used in that script without
returning any error.
For example: x= 10
y= 20
z= c*y
msgbox(z)
In the above code, by mistakenly typed as 'c' in the place
of 'x'. Bur QTP tool allows 'c' as a new variable without
returning error.
| Is This Answer Correct ? | 0 Yes | 0 No |
Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it
write a vb script to display the reverse of vbs
write a vb script to add two 2*2 matrix
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?
which is the best institute in banglaore for software testing?
give me any information abou vb script books learn quckly
Mention what is the technology used by vb script?
Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.
write a vb script to generate 3*3 matrix
Explain about operator precedence in vb script?
write a qtp script to count the number of minimized windows
how to acces the remote mechine using vb cript(QTP)