how u write vb script in qtp pls give me some basic script
and some material
Answer Posted / suganya
Hi,
could you please also send me some material to learn vb
scripting in QTP? my mail id is suganyacv@gmail.com
i wanted to learn scripting please help me
| Is This Answer Correct ? | 0 Yes | 1 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
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
How to analyzing test results using quicktest professional (qtp)?
How to customize qtp?
How many types of actions are there in quicktest professional?
what is the hierarchy to use properties in descriptive programming
Is virtual object supported in low level recording mode?
what is stepin & stepout?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
Is it possible to use two instances of UFT on the same machine? If not why?
How to modify object property in qtp ?
What is the difference between analog and low level recording?
How many types of parameters are available in quicktest professional?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
what is actually contain test report? can anybody post the test report