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
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What are the general steps involved in the data driven framework?
How to use conditional loops in qtp ?
Explain the views in the QTP GUI?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
Why we load add-ins in qtp?
what is error and fault in terms of software quality?
What is the difference between the design-time and run-time data tables?
can u please explain what is the exact difference between qtp8.2 and 9.0
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Which functionalities of QTP used in banking project?
what is output value in QTP and how it can be used in automation testing
How you can decide which type of object repository you have to use?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji