Micro Focus QTP (UFT) Forums

Full Version: runtime changing the Name of WpfButton in associated repository
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can it be done? Im using QTP9.5, with Wpf addins and .net 3.5 addin, and all patches. The associated tsr has a single WpfButton, and i need to change its name, and maybe a few othe properties before its click . While the test is running on that page. Assume its ONE Action with one wpfbutton,
as I have multiple actions. I also at this time have a collection of all runtime objects on the page. Could I (is there a wayjust "click" on the index of objects?

ADDED: i can manuallly add the property(ro) OF THE COMAND PROP to the TO object ... that kinda works, but I HAVE TO edit and add iit to evry single test obct,, way slow. Any heel- or an I cutting first ground here?

It work on all languages,,,,
cb