View Revisions: Issue #1724

Summary 0001724: Implement WPF AutomationProperties AutomationID
Revision 2020-06-16 14:05 by darthmaule2
Description We would like to implement automated UI testing with our application ported from WPF. Our original WPF application used the AutomationID to local UI elements and interact with them, so we would like some way to do that now that we have ported to Noesis.

https://docs.microsoft.com/en-us/dotnet/api/system.windows.automation.automationproperties.automationidproperty?view=netcore-3.1

Also maybe exposing the visual tree through an API and a way to inject events.

More thoughts. It doesn't have to be "AutomationID", but something to access the visual tree from a separate process. Comments from Dave Yaw:

Getting access to the visual tree using the same mechanism that their “Snoop”-like app does would get us a lot of detailed access, which would be very nice for testing. Telerik can retrieve details from the WPF controls that we can use in testing. Automation IDs gets us some limited information, but the visual tree would get us everything.
Revision 2020-06-15 17:06 by darthmaule2
Description We would like to implement automated UI testing with our application ported from WPF. Our original WPF application used the AutomationID to local UI elements and interact with them, so we would like some way to do that now that we have ported to Noesis.

https://docs.microsoft.com/en-us/dotnet/api/system.windows.automation.automationproperties.automationidproperty?view=netcore-3.1

Also maybe exposing the visual tree through an API and a way to inject events