Answer Posted / dinesh1433
GetROProperty is a methods by which user can the runtime value of a particular object while doing test Run.
ex: if user wanted to get value present in a text box.
strTxtValue= Browser("").page("").webEdit("").GetROProperty("value")
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the syntax to call one action in another?
what is the difference between data driver & data driven and driver script?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
hi nani my doubt is how does qtp process metrix related to software process.
What are the types of object repository in qtp?
When Recovery scenario actually starts while testing the application?
How do you delete unwanted results in qtp?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
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 major/ important methods, functions in QTP we use realtime testing
How do Parameterization and Data-Driving relate to each other in QTP?
what type of framework u r using in ur organization
what is run action?
What is system testing and what are the different types of tests you perform in system testing?