how to identify the user defind varibles? plz tell me



how to identify the user defind varibles? plz tell me..

Answer / amarendra kothuru

in QTP script, Specify the line "Option Explicit" as first
statement of your script and execute it. If you do not
declare the variables it gives the errors so that you can
easily find the user defined variables in your script.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

if devloper change only button names in present build then script will execute or not , why? Only gui changed.......

2 Answers   Cap Gemini,


Can we continue functionality testing without framework?

4 Answers  


Out of 3 recording modes. 1.Standard 2.Analog 3.Low-level, which one is commonly used. As per my knowledge, Analog is used for Graphs , barcoding or DIgital signatures.

0 Answers  


What is keyword view and Expert view in QTP?

9 Answers   Ordain Solutions,


How can we redirect QTP results in to a excel sheet after the execution

3 Answers   SAP Labs, Virtusa,






i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script... i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?

2 Answers   Accenture,


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,


Can we write class for vb script in Quick Test Professional?

2 Answers   JPMorgan Chase,


Please Explain The QTP real Testing process with steps.

4 Answers  


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

0 Answers  


How to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help

1 Answers  


how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.

3 Answers  


Categories