What are SetToProperty, SetRoProperty, GetToProperty scripting?
Answers were Sorted based on User's Feedback
Answer / manjunathareddy
SetToProperty-Setting the TestObject property in QTP
SetRoProperty- ??
GetRoProperty-Getting the Runtime Property of an test Object
GetToProperty-Getting the values of test Objects strored in OR.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prasanna
settoproperty()-->used to set the value of particular
property of an object in OR./change the existing property
of an object in OR in runtime temporarly.
GETTOPEOPERTY()-->get the current value of properties&
values that stored in OR.
GETROPROPERTY()-->get the runtime property of an object
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kishan
Sorry a small Correction guys to my earlier answer. There is
no Property like "SetROProperty". But we have only Set
method like mentioned below
Browser().Page().webEdit("uname").set "reddy"
This stmt will change the "Value" Property of "uname" object.
other properties:
_________________
SetToProperty:sets a Property value to a Test Object
GetTOProperty:reads a property value of an Test Object
GetROproperty:reads a property value from a Run time object
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kishan
There is no Property like "SetTOProperty". But we have only
Set method
Browser().Page().webEdit("uname").set "reddy"
This stmt will change the (Native or) Runtime Property
"value" or "text" or "name" Property of "uname" object in the
OR. Thus we have set one property value to any object.
As Manunath Said, all the other properties and their purpose
is correct.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is QTP scenario.
If I change the object name in one action will it be updated in all the actions? Or not?
How to get the run time object property without using GetROProperty
I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.
What is a data driven test in qtp?
What is quick test pro? What is a quick test professional?
In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??
What is BPT?
How is a Step generator used in UFT?
we have 5 default properties we want add more Default property in Object Repository how to add the property
Tell me the QTP Advantages and Disadvatages ?
Howcan you differentiate between Exist statement, Exist property, and Exist method??? How they used???