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 / vaibhav patil

You can also force the explicit declaration of variables by setting the keyword OPTION EXPLICIT . The <%OPTION EXPLICIT%> statement must appear before VBScript command,otherwise it will be treated as an invalid statement and generate error.

For eg,
<%Language=VBScript%>
<%OPTION EXPLICIT%>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1835


What is an object repository?

1052


Describe function procedure in vbscript.

1135


after click on compose mail how can we attached a file in qtp with vbscript code

2180


What is the differences between image check point and bit map check point?

1086


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1795


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

989


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1947


In qtp, explain what is crypt object

1037


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

2043


Suppose I want fail that check point? How can you do that?

1102


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

1101


How many types of recording modes are there?

1044


Differences between text and test area checkpoints?

1115


what is the diff b/w assistive and mandatary rules of object repository in QTP???

2184