Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP

Answer Posted / baba

We cannot edit runtime objects in Automation Testing, bcoz
Runtime objects means the Objects available in AUT,
we can only use the properties available for objects and we
can change the property/properties available in OR during
runtime by using SETTOPROPERTY

We can retrieve the property and its value by using

GetRoProperty

eg:
dialog("Login").Activate
dialog("Login").WinButton("OK").SetTOProperty "text","Cance"
print dialog("Login").WinButton("OK").GetROProperty("text")

it returns "Cance"

it is changing the property value during runtime.

please check it once in ur QTP

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1332


Explain about business process component? types and usage?

1990


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2473


How can you send user defined messages to test report?

992


can u explain relative path architecture framework in qtp?

1944


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2359


what is the diff b/w assistive and mandatary rules of object repository in QTP???

2131


what is the difference between development and testing

3549


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

1031


How to import a test case present in ".xls" file to TD under a Test set?

1178


What are the different types of qtp test assets and their extensions?

1082


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

2185


How to handle the exceptions using the recovery scenario manager in qtp?

983


What is fragmentation and paging?

1965


Explain advantages and disadvantages of ddf?

1007