Window.Close() does not timeout or throw an exception
If during the test the WPF application crashes, .Window.Close() will not be executed (which is expected behavior), however it will not timeout or throw an exception.
Posted on:18 Jul 2013 13:39
Thanks for the follow up!
Unfortunately we should postpone resolving this issue as it will require significant effort and will be a risky change in the current communication in Test Studio execution. Actually this is related to the request about a watchdog also submitted here:
Please do not hesitate to vote in order to increase the change of getting that implemented in a future version of the product.
Thank you for the feedback!
Posted on:12 Jul 2013 11:23
I can't send the application where i encountered this error. But the problem can be recreated by using a WPF Application with one window, make the window crash by adding a button in the window (unhandled exception). now with test studio, try to close the Window with the WpfWindow.Window.Close() method.
Posted on:10 Jul 2013 14:16
Please send a sample test case along with the application to run against. That will let us investigate the problem and at the end make sure we have a solution that will help you.