Hi,
We are unable to use TestStudio for WPF, when closing the window during recording we get an excpetion.
I tried and created simple wpf app in VS 2019 and get same results.
I attached a C# project as solution was to big.
Simple app is based on VS 2019 telerik for WPF project, created as blank.
Only code changed is adding a DispatcherUnhandledException on App class.
Handler:
private void OnDispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) { if (e.Handled || e.Exception == null) { return; } e.Handled = true; MessageBox.Show(e.Exception.Message); }
Steps:
1) Create new project
2) Create new test for WPF
3) Configure to the WPF app exe file
4) Click record
5) After test studio is connected close the window.
Expected results:
Window get closed without any problems.
Actual results:
While closing the window exception is being thrown that we.