Why do we use Option Explicit?

Answer Posted / p.shivakumar

option explicit is used to declare variable where implicit
command without declaration of variable

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1848


Explain about adodb.stream class?

812


How are values assigned to string type and numeric type variables?

754


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1792


Explain the functionality of vbscript?

708


What is Procedure or Subroutine in VB Script?

828


What if you do not specify anything when you call a procedure?

787


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

829


What are lbound and ubound in the vbscript language?

819


what is the differance between BYVAL,BYREF?

1992


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1649


Which operator is used to concatenate the 2 values in the vbscript language?

777


Explain about vb script?

963


How you can call vbscript functions?

780


what types of bugs will we find out in banking projects for automation testing?

1992