wpf - UI Automation changing property IsEnabled Property Element -
we running custom process injection wpf process, , enable named pipe between process communicate. want disable mainwindows until complete injection process.
i using uiautomation libraries check wpf window properties. automationelement
gives method check property value via getcurrentvalue
of property.
what equivalent of setcurrentvalue
method can set isenabledproperty
?
i'm pretty sure there isn't controlpattern allows disable control. keep in mind uiautomation library intended black-box style testing, there isn't capability in there interacts controls in ways end user wouldn't able to.
if uia library means of performing test, might want investigate custom control patterns possible means of getting around it. downside here violates black-box principles extent, , mean additional work developers.
Comments
Post a Comment