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

How you can decide which type of object repository you have to use?

709


What Folder Structure following in Keyword Driven Frame work?

2294


Explain types of output values?

576


can test automation improve test effectiveness?

1491


How does quicktest professional (qtp) identifies the object in the application?

583






What is the meaning Work bench?

1772


Explain the parameter in qtp?

589


What are the two types of repositories available, explain them?

598


What are the technologies supported by qtp?

571


please post the interview questions for QA position in FACTSET

3963


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

1736


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1518


How QTP identify the system time that's changes every seconds?

608


I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

598


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1451