Hi. plz expalin abouit SetToProperty, SetRoProperty,
GetToProperty, GetRoProperty,GetToPrperties. with examples.
Answers were Sorted based on User's Feedback
Answer / kamesh
As per my Knowledge ....There is no SetORProperty in QTP
SetToProperty: This is used for set the values to any
property of object at run time. This is not effected to
GetTOProperty: This is used to get property values which is
set the value to the object using SetTOPropery at run time
GetORProperty: This is used to get the any property values
of any object in run time
Plz let me know if I wrong..
|Is This Answer Correct ?||10 Yes||1 No|
Answer / raghavender
It is used to set a vlaue to the property of an object
which is there in the Repository.
This property is used to get the run time proerty of an
eg: strval = Browser("").page("").webbutton
This property is used to get the particular property value
of an object which is present in the repository.
Eg:strval = Browser("").page("").webButton("").getTOproperty
SetROProperty is not existing in QTP.
|Is This Answer Correct ?||7 Yes||1 No|
Answer / surya
Yes !st answer is wrong ....In QTP we hav only
|Is This Answer Correct ?||4 Yes||1 No|
Answer / prathyusha
We don't have any SetRoProperty in QTP
We do have only SetTOProperty,GetRoProperty,GetToProperty,GetToProperties.
SetToProperty-- is used to update the property value of a test object but that updation will be only temporary.
GetRoProperty-- Is used to get the property value of RuntimeObject
msgbox B().P().WebElement().GetRoPropery("inner text")
GetToPropery-- To get the property value of test object
GetToProperties-- To get the property values of all test object.It returns the collection
|Is This Answer Correct ?||0 Yes||0 No|
Answer / umasankar
Objects in QTP are of two types.
1) Test Objects (Objects resided in Object repository, not
the exact replica of the objects resided in your
appliation. Qtp is having its own pre-defined set of
classes to identify the object(s), using the QTP classes an
object is added to repository)
2) Runtime objects (these are the exact replica of the
objects resided in your application).
GetRoProperty ---- This method is used to retrieve the
value of a runtime object (may get change during runtime)
GetToProperty ---- This method is used to retrieve the
value of test object resided inobject repository (wont
SetToProperty --- This method is used to set/change the
value of the object resided in object repository (change in
the property won't reflect change(s) in the property of
SetRoProperty --- Not advisible to use. change in the
property of actual object may lead(s) to wrong unnecessary
|Is This Answer Correct ?||0 Yes||1 No|
SetToProperty - Sets the value of the property from the
output file(Ex:Excel) in your respestive text box for
SetRoProperty - Sets the values of the property at Runtime.
GetRoProperty - Retrives the value from the applciation and
it will store in your local sheet.
GetToProperty - Retrives the value of the runtime data of
|Is This Answer Correct ?||1 Yes||14 No|
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.
Can we use same virtual objects in many number of tests?
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
what is error and fault in terms of software quality?
WHAT IS THE SIZE OF OBJECT REPOSITORY USING IN YOUR COMPANY? Can any body tell me answer of this quation........
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
how to click the link in webpage by using QTP Script????????
in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha
How to handle dynamic objects in quicktest professional?
Is manual Testing replacement of automation testing?Which types of testing we can not do in automation testing but can do in manual testing?