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...

What is the use of "Option Explicit"?

Answer Posted / bharathchandra m

"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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are lbound and ubound in the vbscript language?

1147


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

2392


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2556


How will you get the last occurrence of one string within another string using vbscript?

1244


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

2121


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

14362


How to Enter Values on the Command promt using VB script

2110


How will you convert a string to lower case string using vbscript?

1080


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

1534


What is the use of the formatdatetime function in the vbscript language?

1078


how to set one column as primary key in QTP and fetch values accordingly

2361


who will create the object?

2015


Which loop is used in case of arrays in the vbscript language?

1003


Mention how you can call vbscript functions?

1193


How are values assigned to string type and numeric type variables?

1070