Can anybody send me the code to get the RO property of the
active screen in QTP while running?
Answer Posted / shiva
Hi, You can get the Runtime object properties of the window
through object spy option in the tool.Follow below
navigation.
Toos--->Object spy--->Click on hand icon--->Show the widow
or your object--->You will get Runtime and Test object
properties.Check the radio button which ever you want and
click on the properties and methods buttons below it.
By doing so you can get the Runtime object properties.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what frame work you are following?
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 common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
Where is the Bitmap checkpoint information stored?
UFT 12.02 which ALM version will support
what is the frame work in J-meter?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Is any limitation to xml checkpoints?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Can launch two instances of qtp on the same machine?
how will you load the test cases in ddt?