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


Please Help Members By Posting Answers For Below Questions

what frame work you are following?

1512


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

1472


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1428


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

601


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.

1265






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

1555


Where is the Bitmap checkpoint information stored?

1748


UFT 12.02 which ALM version will support

974


what is the frame work in J-meter?

1584


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1623


Is any limitation to xml checkpoints?

549


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1399


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1314


Can launch two instances of qtp on the same machine?

569


how will you load the test cases in ddt?

1587