Hi,
I'm trying to do some UI testing using the White UI Automation framework, but I've run into a bit of a challenge when trying to get a handle to a WinForms ReportViewer control. The application is WPF-based and so we use a WinFormsHost control to host the ReportViewer control. But when I try to set a AutomationProperties.AutomationId="ReportViewer"
on the ReportViewer control, I get the following error message;
'ReportViewer' value cannot be assigned to property 'AutomationId' of object 'Microsoft.Reporting.WinForms.ReportViewer'. Object of type 'Microsoft.Reporting.WinForms.ReportViewer' cannot be converted to type 'System.Windows.DependencyObject'.
Anyone experienced anything similiar? And if so; Did you find a solution to the problem?