When and why do you use "OPTION EXPLICIT" in VB Script.
Is there any online help or something to learn the script
for Beginners?

Answer Posted / shilpi

Use Option Explicit to avoid incorrectly typing the name of
an existing variable or to avoid confusion in code where the
scope of the variable is not clear.

when you use Option Explicit statement,you must explicitly
declare all variables using the Dim,Private,Public or ReDim
statements.If you attempt to use an undeclared variable
name,an error occurs.

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is test object model in quicktest professional?

611


banking project description for software tester

7011


What are the types of data tables in qtp?

572


What are the Application Functions available in QTP?

1465


regular expression in qtp standar check point for months from accepting months from january to december only

1465






Name the properties you would use for identifying a browser and page when using descriptive programming?

514


How to build scripts that access data from external sources?

1591


what is defenetion of kiran can u tell me plz CVS, SVN

1562


Explain actions in qtp ?

543


When to use shared and local object repository?

622


What is regular expression?

569


What is the diff between image and bitmap check point?

587


Explain about business process component? types and usage?

1551


When Recovery scenario actually starts while testing the application?

1530


How to use reporter.report event in qtp ?

543