what is option explicit? what is the use of it?

Answer Posted / ravi kumar battula

Option explicit we declare at the top of the script so that
we can declare every variable as Dim or other data types.
Some times we do not declare variables, in that situation it
shows error if 'option explicit' is on in the script

Is This Answer Correct ?    24 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1447


How many types of recording modes in qtp?

589


How can i check items sorted or not in a weblist ? Give me the script for this...

1578


What is the use of text output value in quicktest professional?

512


What is text/text area checkpoint?

564






What is a data driven test in qtp?

587


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

607


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1377


What is the limitation to XML Checkpoints?

1603


How does quicktest professional (qtp) identifies the object in the application?

583


What is the extension of qtp local repository?

576


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1407


Why to use descriptive programming?

569


what is stepin & stepout?

1422


What are the different ways to invoke an application using QTP?

647