What is the difference between gettoproperty and
settoproperty?Explain with an example?
Answer Posted / brinda
GetToProperty:
eg: a=window("Flight Reservation").WinRadioButton
("Business").GetToProperty("checked")
msgbox a
SetTOProperty:
Suppose in first build, it was "OK" button and now in the
modified buit it is "Yes" button.
you need to change the button name.
window("-----").WinButton("OK").SetTOProperty "Text", "Yes"
This will change the button name to "Yes".
Hope this helps....
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
distinguish between old version and new version QTP features.
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
hi nani my doubt is how does qtp process metrix related to software process.
What is the difference between qtp and selenium?
Is it possible to change the property value at runtime? How it is possible?
How many add-ins comes by default with quicktest professional?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
What are the recording modes in qtp?
Can the user toggle between using Local OR and shared OR for the same action?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
What is checkpoints for quicktest professional?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
Explain the concept of how quicktest professional identifies object?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??