I am curious if anyone else has seen this. I inherited a bot that manipulates the UI of a medical provider webpage. I was told the bot has been failing in production for a long time, but the errors (due to insufficient logging) were vague at best. After troubleshooting the process I found the issue is not that the bot is failing but that it hangs, and I have narrowed it down to a particular step.
The step in question is a simple Recorder step that clicks on one of three tabs (below). It seems from time to time the window closes or the tab is somehow not found.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/b742dda5-529d-413a-a4a3-45aee5be3ed8.png)
The interesting thing is the step completely ignores the timeout that is set. It simply hangs at this point and does not error out.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/151ea95d-8fec-4fc6-b3ab-6a00fb897e84.png)
In the production run of this bot, I found an instance where it stayed - stuck at this step - for days, while other bots filled the queue waiting to run. I have since added a timeout of 120 minutes under this bot’s settings page, and it is at least failing out now. But what I do not understand is why it is ignoring the timeout.
In testing a possible resolution, I have recaptured the step multiple times with no change in behavior. I have confirmed that all other Recorder steps in the process fail as I would expect them to. I have then tried to put the Recorder step inside a If Recorder Object Exists loop that should wait 10 seconds and then fail if it does not find the element. I have also tried simply wrapping it in a Try/Catch and failing after 10-15 seconds. All attempts have the same behavior; this step simply sits there waiting until I manually cancel the bot. Just curious if anyone has ever encountered similar, or has any idea what might cause the step to ignore the set timeout