When and why do you use "OPTION EXPLICIT" in VB Script.
Is there any online help or something to learn the script
for Beginners?

Answer Posted / minni

On the top of the QTP script if u write Option Explicit
that means u r going to define every variable u r going to
define every variable u r using in the script as DIM.
for an example if u want to define an array ......
Option Explicit
Dim A(10)

Is This Answer Correct ?    26 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1654


Can we run multiple QTP scripts one after the other without manual intervention? How?

681


how will you check how many members visited the website www.infosys.com?

1576


How to create Reusable and Multiple Actions?

1811


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1713






How to handle dynamic objects in quicktest professional (qtp)?

635


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

1861


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1596


what r the main attributes of test automation?

1566


How will you test a keyboard?

694


How to use output values in qtp ?

641


Which functionalities of QTP used in banking project?

2017


What is quicktest professional (qtp window?

691


your coming from electrical backgroung..but y ur coming to software side?

1471


How to find array size in qtp?

675