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 the extension of the recovery scenario file in qtp?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...
In qtp, how you can use xpath to identify objects?
i want 8.2 and 9.2 dacuments plhelp any body sand it to my id sandhyat1@yahoo.co.in
Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in advance...
How to connect to oracle(sqlserver) database to QTP
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
in process of project exaplnation the defects are says frequently r not?
write script to read and write data from file ?
pls help me with scripting,right from the beginning in QTP
How can i Save the snapshots in a specified folders using Scripting in QTP?