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
How qtp recognizes the object?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
what function you write to do database testing with the help of qtp?
How can get count of list box?
what is vmodel?advantages and disadvantages of vmodel?
What are the advantages of parameterization ?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
What is object repository in qtp?
How does qtp identify objects in the application?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
How to find operating system information using the qtp script?
What is post recovery scenario?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?