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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in a web page How to check and display a particular word from a paragraph?

2482


How to call a test from another test?

1375


What do you to script when objects are removed from application?

1071


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1823


what the difference between shared repository and per action repository?

1056


Does quicktest professional (qtp) is unicode compatible?

1022


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

2268


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2102


Explain different recording modes?

1034


In qtp, how you can remove the spaces from string?

997


distinguish between old version and new version QTP features.

2351


please any one can explain the keyword driven framework. with gmail example.

2103


What are the challenges you faced during you entire life automation ?

1519


How to execute a winrunner script in quicktest professional?

1032


can u please explain what is the exact difference between qtp8.2 and 9.0

2168