Forum Discussion

andrewa's avatar
andrewa
Contributor
6 years ago
Solved

Closing Window with Unexpected Window Handler is aborting entire test run

So I have a suite of Windows tests. I've been having an error show up in the application. I want to be able to close it and fail the currently running keyword test and then continue on with the rest ...
  • tristaanogre's avatar
    6 years ago

    You have the "stop execution" flag checked on the On Unexpected Window portion of your engine setup.  Turn that off.

    That is still processed on an unexpected window.  The event handler executes first when the event is triggered.  Then, after the handler does it's thing, it will continue with what's indicated.  If you don't want the test run to halt, just turn off that flag.