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

how can we compare descriptive programing with a regular expression

2019


Can launch two instances of qtp on the same machine?

655


How do Parameterization and Data-Driving relate to each other in QTP?

667


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3615


Explain quicktest professional testing process?

636






By using QTP can we record any log files written by the application which is in execution?

1581


what type of automation is follwed in the project?

1582


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1535


What is the recovery scenario in qtp?

659


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

1708


Why bpt?

695


What are the disadvantages of recording test cases in qtp?

680


How many add-ins comes by default with qtp?

626


Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com

1983


Without using gui map editor we can recognize the application in winrunner ?

700