what are SetToProperty, SetROProperty,GetToproperty
scripting?
Answers were Sorted based on User's Feedback
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 |
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 |
What is meant by Pseudo Code?
Waht is Test Report , What it consists?
Explain in brief about the quicktest professional (qtp) automation object model?
How to build scripts that access data from external sources?
They asked by using qtp recording writing scripting
how can i call function (which has link with excell sheet at a remote location) within another function
Which company is better amdocs or techm ???
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
How to write business scripts using object repository with different scenarios
What is qtpro? What is quick test pro?
How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page