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
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
Explain xml checkpoints.
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
What are the types of data tables in qtp?
Explain the difference between check point and output value?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
What are the recording modes in qtp?
What is Test Fusion Report in QTP?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
What is system testing and what are the different types of tests you perform in system testing?
How you can replace string in qtp?
How to handle the exceptions using the recovery scenario manager in qtp?
Can you list some technologies that support qtp?
Where we can use the analog mode and where we can use the low – level mode?