Forum Discussion

rhu's avatar
rhu
Contributor
2 years ago

how to handle chrome displaying a restore page when a test fails

I have some automated tests like opening a browser, navigating to a page, entering values, ... and closing the web page at the end.
This tests are running an a pipeline
Sometimes the tests fail and then crome displays an "error page"
The problem ist that because of the error page all other web tests will als fails because the could not connect to any page anymore.
Is there any solution how to disable the error page or go over it (e.g. with a script), so that my other tests can go through?
thanks for your comments:
BR



1 Reply

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    It's best to diagnose the issue, as opposed to continuing with the automation. Your web application may not be responding to a request, and hence fails. If you decide to continue, most likely more errors will occur.

     

    See Handling Events.