![]() |
[UFT] Change property of object (WpfButton) - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: [UFT] Change property of object (WpfButton) (/Thread-UFT-Change-property-of-object-WpfButton) |
[UFT] Change property of object (WpfButton) - robertosalemi - 11-21-2016 Hi, in my test I have a WpfButton where "enabled" property is setted to "false". How can I change this property? I have to try with "SetToProperty" but it not works. Thanks for the support. RE: [UFT] Change property of object (WpfButton) - robertosalemi - 11-21-2016 I found a workaround. I used this code: Code: WpfWindow("myApp").WpfEdit("txtComments").Set "" I set the focus in a WpfEdit, I pressed two times the tabs button for move the focus in APPLY button, then I pressed ENTER. Maybe someone helpful to someone. Thanks a lot. RE: [UFT] Change property of object (WpfButton) - Ankur - 11-22-2016 Thanks for the question and eventual solution. Kindly edit your first post to elaborate more on the question. Why were you trying to change the property? |