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

Explain the concept of object repository and how qtp recognises objects?

534


What is Distributed testing? How does UFT support it?

613


How you can delete excel file in qtp?

601


Explain different types of checkpoints?

566


Explain how to use QTP to check broken links on a page?

591






What is the difference between qtp and selenium?

554


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.

1729


In qtp, how you can get the last character from a string?

560


When and why to use descriptive programming?

614


how to test use the quality control .how to verify the image verification

2553


what is object and child object.. explain ..if possible give some example for better understanding ..

1537


How you calling actions in qtp?

634


distinguish between old version and new version QTP features.

1869


Explain in brief about the quicktest professional (qtp) automation object model?

575


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2443