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
No Answer is Posted For this Question
Be the First to Post Answer
how can we test load time of an page in webtesting?
How Does Run time data (Parameterization) is handled in QTP?
wt is memory leakage?
if devloper change only button names in present build then script will execute or not , why? Only gui changed.......
If already everything is tested using White-Box testing, then what is the need of using Black box testing?
Object Repositories types, which & when to use?
describe some problems that u had with automating testing tool?
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?
Shall we add Local Repository to shared object repository,if yes,how we add
i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages
Hello friends can anybody tell me about the architecture of QTP with diagram of it.this architecture is same for any domain like ERP/Banking/CRM/Healthcare or it's different then please tell me.thanks
What is the keyword view and expert view in qtp?