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
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
What is quicktest professional (qtp)?
what type of automation is follwed in the project?
What are the Test design techniques you uses in ur project?
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?
How many lines of code in each script of QTP?
What is the difference between per-action and shared?
how interviews will be on QTP?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How the smart identification is used in real time?Please explain with an example
What is the limitation to XML Checkpoints?
what is the difference between data driver & data driven and driver script?
How to use output values in qtp ?
How do you open adobe acrobat file in QTP and do some testing on that file ?