what is use of optionexplicit in variable declaration

Answer Posted / aaa

In hurry i wrongly posted.

Option explicit
Dim a ---We are declaring them in advnace. (Dimension)
a=10

NOT error.

Option explicit
a=10
throws an error.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is recovery scenario manager? When you go for recovery scenario manager?

579


What are the check points can be inserted without recording?

594


Is it possible to split an action? How?

652


why text area checkpoints cannot used for web applications

1878


how can i pass a "cript"as a parameter in to a function

1452






Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2093


Which functionalities of QTP used in banking project? pls any say answer?

1435


how will load the object during runtime?

1577


What are advantages of test automation?

659


What will be happen if i load object repository at run time, but it has already associated.

1253


Explain about datafile/verification of date file when file is not available in local system?

2218


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

1619


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

1823


1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

1600


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1414