Hi. plz expalin abouit SetToProperty, SetRoProperty,
GetToProperty, GetRoProperty,GetToPrperties. with examples.

Answer Posted / 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
change).

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
runtime object)

SetRoProperty --- Not advisible to use. change in the
property of actual object may lead(s) to wrong unnecessary
results.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is defenetion of kiran can u tell me plz CVS, SVN

1572


Where you get the run time data table?

589


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

5891


Give me some real time point of way where exactly we can conduct audits?

1503


which type of testing process are you following in ur company? how to recognize a qtp page?

1409






What is checking bitmaps?

556


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1591


What is the use of text output value in quicktest professional?

515


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

869


what is the difference btn risks & Therads in the Test plan documentation?

1592


what is object and child object.. explain ..if possible give some example for better understanding ..

1533


How to capture a window in QTP?

1530


What are the features of quick test pro(qtp)?

538


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

1582


What is qtp window?

568