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...


what are SetToProperty, SetROProperty,GetToproperty
scripting?

Answers were Sorted based on User's Feedback



what are SetToProperty, SetROProperty,GetToproperty scripting?..

Answer / rekha

SetTOProperty – Basically is used to modify the properties
of current Test Object during run session without
permanently modifying the Properties. In short the changed
Properties would be applicable for the present run Session
alone.

Object.SetTOProperty Property, Value



GetTOProperty – A GetTOProperty method is used to retrieve
the value of a Test Object Property. Basically during a Run
Session, incase we need to find out the Property value for
any TestObject we use this method. It does not consider the
properties of the Object as displayed in the Application at
runtime.

VariableName = Browser(“”).Page(“”).WebEdit
(“”).GetTOProperty (“Name”)



A GetROProperty method is used to retrieve the Runtime
properties of an Object as displayed in an application. We
can retrieve the Current value of a Property for
TestObject. It is used to retrieve only Runtime properties.



A Set Property can be used to set a value to any variable
or set the Property value of any Object.

Is This Answer Correct ?    11 Yes 3 No

what are SetToProperty, SetROProperty,GetToproperty scripting?..

Answer / vince.shu

There is a Object Repository in QTP for every test we
created, Every Object Repository has Test Objects for QTP
to recognize Objects we recorded in test.

every test object has properties
like "width","title","text"....... and Objects also have
Run time Properties when test is running.

The Get/SetToProperty means we can Get/set the Test
Objects' Property in Object Repository.

The SetRoProperty means we can set Object's Runtime Property

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

1 Answers  


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

0 Answers  


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

0 Answers  


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

0 Answers  


What are the steps involved in recovery scenario wizard?

0 Answers  


does test plan is in test strategy or test strategy is in test plan

2 Answers   Tanla Solutions,


What is the latest version of qtp?

0 Answers  


Which features or drawbacks of QTP lead to the upgrade for a newer version?

0 Answers  


how to capture (or) checkpoint for chineese or any other language except english using QTP in a web page. ( my application have 24 language, how to check those lanugages using QTP? is it possible). Please let me know

3 Answers  


write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


How should I get results when I run scripts in a Batch mode

1 Answers   TCS,


How to handle dynamic objects in QTP?

4 Answers   Infosys,


Categories