Obtaining UIAutomation properties from WPF objects
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2018
08:23 AM
06-07-2018
08:23 AM
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.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2018
08:58 AM
06-07-2018
08:58 AM
This may be of some help
https://support.smartbear.com/testcomplete/docs/app-testing/desktop/wpf/addressing-objects.html
Marsha_R
[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.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
