Webpage not working

The web page I’m trying to login is working perfectly.I’m unable to capture any exceptions ‘when the web page is not uploaded in any unforeseen situation in the future’.
But now,
I have to build an instance where I say that the web-page is down and later give a retry scope.


1 Like

Are you trying to force an exception to test with? If yes, use an incorrect URL and the activities to populate the login credentials will throw an exception when the elements don’t appear.

You can also just update one of the elements selectors to be invalid.

Hi @Sandhya_UI

In addition to what @chenderson mentioned, you can also make use of the template mentioned in this post to handle browser timeout scenarios. It also gives you the ability to retry the failed page to try and load it again automatically.

Hope it helps