1) What is the diff Between GetRoproprty and Gettoproperty?
2)What is Redim?
Answers were Sorted based on User's Feedback
Answer / nalini
GetROProperty used for retriving the property value of an
object from application.
GetTOProperty used for retriving the property value of an
boject from Object Repository.
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / saravanaraja
GetRoProperty: It will retrieve the current value during
run time.
GetToProperty: It will retrieve the value from the test
object only those objects present in the Object Repository.
ReDim: Re-allocation of the Array Size
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / qtphelper
Get Ro property is run time value of an object when the
application is running where as GetTo is the property
assigned to the object in the OR
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sandesh sawant
GetROProperty used for retriving any of the property value
of an object from application.
Gettoproperty is used to retrive all the properties and
their value of the object from which it is been identify.
EX.
Set col = Browser("Flight").Page("Flight").ActiveX
("Calendar").GetTOProperties()
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / mahaboob
Objects which are existing in the application under test is called runtime objects and retriving the object property values from the application under test is called as getro property.
objects which are existing in the object repository is called as test objects,Test objects are give the reference to the qtp in order to identify the runtime objects,retriving the object property values from the object repository is called as getto property.
Is This Answer Correct ? | 0 Yes | 0 No |
What is recovery scenario in qtp?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
How to load object properties to object repository through scripting.give one example
can we run the scripts of QTP8.2 in QTP7.0?
anyone can explain Diff B/w Actions and Functions
what is the diffrence bw qtp architectute and qtp framework?
Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y?
Hello, I am facing problem to check textpoint for mercury application . I have inserted checkpoint to check flight summary for place of departure and arrival with datatable and script look like "Browser("Find a Flight: Mercury").Page("Book a Flight: Mercury").Check CheckPoint("Book a Flight: Mercury_4")" but while I am executing this script at last my check point gets fail and display Text Checkpoint: captured "" between Summary and 4/31/2008FLIGHT , expected "Acapulco" Match case: ON Exact match: OFF Ignore spaces: ON I think value from data table is not fatched so please guide me what I have to do to overcome this problem.. Thanks
what is the hierarchy to use properties in descriptive programming
How to Import data from a ".xls" file to Data table during Runtime.
recording is not a good programming practice.How to write effective script without recording.Which is the correct method explain in detail