Question
2
Replies
840
Views
Posted: January 19, 2018
Last activity: January 23, 2018
Closed
Solved
Handle Browser crash / Re-start events - in OpenSpan / Pega Robotics automations
How can we handle the unexpected errors/ events like browser restart / crash during automation.
Mostly what we can do is terminate the runtime by showing a pop up message that unexpected error occured [In case of RDA] in such events, How can we do that ?
Thanks.
If your automations are coded sufficiently, then the current one may fail if the browser crashes, however your next one should succeed as it should start the browser back up if it is not running. The failure would be detected by your automation flow (i.e. probably a timeout getting to where you are trying to navigate). You'd display that to the user so that they could correct the problem.
I generally have a start/login automation that returns a success if the adapter is running/logged-in or if it detects that it is not, performs those steps. I add it to the beginning of my main automations so that they will work regardless of whether the adapter is running,