Is there any possibility to get UIElement from UITestControl or AutomationElement?
I tried to get it using HwndSource class but with no luck.
WpfText uiTestTextBlock = ...; var textBlock = (TextBlock)HwndSource.FromHwnd(uiTestTextBlock.WindowHandle).RootVisual;