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
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
What are the types of object repository in qtp?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
How can you pass value one action to another action?
how can we do the frame work in qtp
Can you brief the hurdles you faced during Automation testing?
What is the standard timing delay for web based application in qtp?
What are the different attributes used with regular expression?
What is the default object synchronization timeout in qtp?
What is CMMP and CMMH?
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
How to do call a output parameter from one action to another action??/
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
Explain in brief about the quicktest professional automation object model?