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

dears, I have one question for QTP.If my software is english and defined objects is english name. But, if my software has support MUI, under this case that my objects in the QTP can't work, because the QTP can't catch the objects name. In this case, is anybody know how to solve this problem? Thanks a lot.

2 Answers   CyberLink,


Hi All I am installing QTP 8.0/8.2 in my office desktop (WIN XP) but it is not working. Inspite Installion is succesfully done but when i open qtp from programs it opens only first screen of add-in and after that it disappears. But in my other computer at home (winxp) it is working fine. Can you please give the reason, why it is not working in office desktop. DEEPAK SINGH

4 Answers   Satyam,


how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??

2 Answers   Siemens,


What is the difference between Dim And Redim

4 Answers   Hotel Jobs, IBM, Microsoft,


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

0 Answers  






How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

2 Answers  


How do you perform Regreession Testing?

0 Answers   Nokia,


Is it possible to merge two object repository files in qtp?

0 Answers  


How do know the number of browsers opened?

0 Answers  


i need to learn the descriptive programming very well so for that what to do am reading the qtp user mannual but it is not so any materials or links with examples i want please help me

2 Answers  


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

0 Answers  


how to test background color and dynamic images during runtime

4 Answers   Accenture, Oracle,


Categories