Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain the types of object repositorys in qtp?

1157


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

2207


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1870


What are the different types of recording modes in qtp? Which will be used when?

1114


What are the differences between quicktest professional (qtp) and winrunner?

1112


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

1075


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

2291


assume i have few url link how will i dynamically call then using descriptive programming?

2072


What is checkpoint in qtp?

1091


How to check bitmap output value?

1247


what is clean sweep?

2035


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

2194


How many scripts did you have?

2232


Can any one send me the QTP Basic Coding Samples?

2135


What is the difference between the keyword view and expert view?

1016