what is use of optionexplicit in variable declaration

Answer Posted / aa

If we don't use it, we can declare variables in vbscript
without declaring them in advance.
Ex:

option explicit
a=10

This throws an Error.

If don't use... Option explicit
a=10
doesnot throw an error.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain data driven framework?

571


what is the difference between development and testing

2357


How to get the particular property value?

606


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

3694


Without using gui map editor we can recognize the application in winrunner ?

599






I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1717


What phases are involved in testing an application in qtp?

558


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1822


How do you test DLL files using automation Tool QTP?

2726


How many types of actions are there in quicktest professional?

508


How to call a test from another test?

676


what r the main attributes of test automation?

1474


Write a QTP script to enter a keyword in to Google search engine?

649


What are the Disadvantages of shared object repository?

561


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1671