Answer Posted / baba
ini file used to configure the variable which we have used
in VB script and same can be used for configuration
settings as well.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All 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
can test automation improve test effectiveness?
How many ways we can parameterize data in quicktest professional (qtp)?
Can we Test Welcome Screens and Process Images with QTP
How many types of parameters are available in quicktest professional?
What is the Difference between copy to action and call to action?
Limitations in QTP?
Does quicktest professional is unicode compatible?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Explain different type of event trigger option.
What are the different recording modes and how do they work?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
What is the basic concept of quicktest professional (qtp)?
What are the different types of qtp test assets and their extensions?
what is meant by Implicit and explicit requirements?