Forum Discussion

bkirkendall's avatar
bkirkendall
New Contributor
6 years ago

Obtaining UIAutomation properties from WPF objects

I am trying to script automated testing for a desktop WPF application. I had initially tried giving priority to NativeUIAObject  as a way of accessing the application elements but I discovered great difficulty with trying to obtain field values in some cases. I then experimented with giving priority to NativeClrObject and for the most part this has worked much better. However, I miss being able to use some of the properties that were exposed with the UIAutomation approach. Is there any way to expose both? I have tried selecting "*" for my CurrentProjectOptions | Open Applications | UI Automation but this hasn't helped.