Exceptions thrown by UIA server in UI thread in WPF should be caught and redirected to automating thread in order to report error correctly. Otherwise automated app just crashes as with usual uncaught exception in dispatcher. On UIA client side added UiaCallFailedException because otherwise it is TargetInvocationException without any details, which is very common.