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
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Explain object spy in qtp.
what is the advantages and disadvantages of using functions instead of re usable actions
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
who QTP recognizes the object stored in object repository?
How to create a standard checkpoint ?
how to prepared for first for the first interview?
How QA specialist can identify when programmatic descriptions are useful?
please post the interview questions for QA position in FACTSET
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
What do you mean by checkpoints in qtp?
What is the difference between call to existing action and copy of an action?
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