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
in a web page How to check and display a particular word from a paragraph?
How to call a test from another test?
What do you to script when objects are removed from application?
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 :)
what the difference between shared repository and per action repository?
Does quicktest professional (qtp) is unicode compatible?
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 .
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Explain different recording modes?
In qtp, how you can remove the spaces from string?
distinguish between old version and new version QTP features.
please any one can explain the keyword driven framework. with gmail example.
What are the challenges you faced during you entire life automation ?
How to execute a winrunner script in quicktest professional?
can u please explain what is the exact difference between qtp8.2 and 9.0