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 |
How to record a qtp script ?
What is the difference between Recover Scenario(screen) and on Error Resume Next(code)
When do go for loop condition in test?
How can you close the second opened browser?
how to recall a function in QTP?
How can you give wait up to 10 seconds in qtp?
how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.
Basically why we need testing?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
0 Answers Tavant Technologies,
How QTP integrate with application?
plz can any one send me what is Automation Testing Frameworks.. Thanks in advance
How do u override the meaning of a standard object in QTP?