Ask a Question

Obtaining UIAutomation properties from WPF objects

New Contributor

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.

Community Hero

This may be of some help

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: