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
How to open a new test using quicktest professional?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
What is the syntax to call one script from another?
Can we record an application running on a remote machine using qtp?
terminal services client
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
explain abt dyanamic changing object with example?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How to test login module with different username and password by using data driven testing in QTP?
How to open a new test using quicktest professional (qtp)?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
What are the major/ important methods, functions in QTP we use realtime testing
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Brief the process of testing with UFT?