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 do you done Data-Driven Testing using MS-Word. What is the script for that

3 Answers   IBM,


Hi guys, can anyone explain me whats the method for reporting the QTP test results to teamlead or non-QA member (developer/PM)? Thanks in Advance!!!!!

2 Answers  


Give me brief idea about QTP automation object model?

5 Answers   TCS,


In Keyword driven frame work you have write 30 test case for one scenario,in which 10 test cases are failed while executing.client asked you to execute only the failed test cases. HOw can you execute only failed test cases

2 Answers   IBM,


How to identify flash application when the qtp is not identifying the flash application objects.

2 Answers  


How will you find the current time of the remote machine using QTP script?

0 Answers  


How to recognise the webelement and verifying that webelement is enabled?

0 Answers  


How to Map network drive in QTP

3 Answers  


Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


how to use import and export sheet methods in qtp

1 Answers  


Have you faced any problems with object repository?

0 Answers  


Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.

3 Answers   Infosys,


Categories