Question

The BOT stopped working all of a sudden on one of the apps with error “The web page took too long to load. Increase wait time and try again. “

  • 28 April 2022
  • 3 replies
  • 107 views

The BOT stopped working all of a sudden on one of the apps with error

“The web page took too long to load. Increase wait time and try again. “

 

There was no change done to the app or the bot which might have caused this issue.

 

Could you please help debug this issue?


3 replies

Updating BOT packages to latest fixed this issue.

Userlevel 4
Badge +7

Hi @Karan Sehgal​ ,

 

It looks like the webpage took time to respond.

This can be rectified by lengthening the Timeout(15 sec by default) to 30 or 45 seconds.

Either that, or you may employ a retry mechanism by nesting a Try Catch within a Loop(for n times) and a Break Action towards the end in the Try Catch block.

 

This way, the retry only activates if the Actions run into any error.

 

The Break activates when all the Actions are executed, and prevents the bot from retrying if the process doesn't fail at any point.

 

Kind Regards,

Ashwin A.K

Userlevel 6
Badge +9

Hi,

 

Please try below.

 

1) Clear browser cache/cookies and validate the issue

2) Use the latest recorder package

3) introduce a delay so that the target webpage is properly loaded.

 

Thanks.

Reply