What are SetToProperty, SetRoProperty, GetToProperty scripting?

Answers were Sorted based on User's Feedback



What are SetToProperty, SetRoProperty, GetToProperty scripting?..

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

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

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

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

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

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

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

Post New Answer

More QTP Interview Questions

vb script for calling one function to the another function

2 Answers  


How do you connect to database ,What is the script to connect DATA BASE?

2 Answers   Nokia,


How to send QTP scripts to our colleagues?

1 Answers   Virtusa,


in qtp how we work with out put values and what is the process?

4 Answers  


what are the different kinds of frameworks in automation?

1 Answers   Accenture,






How to pass parameters into an action.Please explain me with examples

5 Answers  


Hi any body can tell me the synchranization point syntax thanks in advance

6 Answers   AppLabs,


Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx

5 Answers  


1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?

1 Answers   L&T,


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

0 Answers   LinkEdge,


how interviews will be on QTP?

0 Answers   Fidelity,


What is data driver in qtp?

0 Answers  


Categories