what is option explicit?

Answers were Sorted based on User's Feedback



what is option explicit?..

Answer / param

Option explict will automatically take care of defining the
respective data types by VBS itself instead of defining the
data types expicpity..

Is This Answer Correct ?    4 Yes 0 No

what is option explicit?..

Answer / thirumala reddy

option explicit force you to declare a variable to avoid any mistakes in the script

normally when u misspell something in script it takes as a new variable

Is This Answer Correct ?    3 Yes 0 No

what is option explicit?..

Answer / madivalappa patil

option explicit force you to declare a variable to avoid
any mistakes in the script

normally when u try to use a variable which is not declared
in script then it will through an error saying that
variable not declared.

If you used Option Explicit on Top of your script then you
must declare all the veriables.

Is This Answer Correct ?    3 Yes 0 No

what is option explicit?..

Answer / ajreddy

hi param i think u r wrong in option explict.
option implicit is according to u its correct

Is This Answer Correct ?    0 Yes 0 No

what is option explicit?..

Answer / jaipal

You should declare the variable
Dim ----
public----
private---

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How to test login module with different username and password by using data driven testing in QTP?

0 Answers   HCL,


what is use of the object repository?

4 Answers  


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

0 Answers  


how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?

5 Answers   Ordain Solutions,


can u pls explain me About Driver script.

4 Answers  






Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

0 Answers  


i have read that "non-reusable actions can not be called in any other test".but in 'call to copy action' copies non-reusable action in other test also..can u pls help to understand this..

0 Answers  


which is the easiest way you can send the QTP test results to Client if he want to see the screenshots when the results are failed?

1 Answers   CTS,


How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names.

1 Answers   HP,


Can I import a excel sheet in Action1 datatable? How?

2 Answers   IBM,


What type of VB script u had done in expert view?

1 Answers  


CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP

2 Answers  


Categories