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

assume i have few url link how will i dynamically call then using descriptive programming?

1597


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1420


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1719


What are the general steps involved in the data driven framework?

550


What is expert view in qtp?

575






Can we use index on view?

1595


Is qtp supports uni-code?

608


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1509


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1413


How many add-ins comes by default with quicktest professional?

550


desribe a situation where u faced a stressful situation and how did u cope with it

1404


can anyone tell me from where i can download qtp demo or crack version

1621


what is command for executing files?

1510


Tell me about qtp?

538


How to integrate the qualitycenter with qtp

1769