Articles → AUTOMATION ANYWHERE → Error Handling In Automation Anywhere 10.5

Error Handling In Automation Anywhere 10.5






Example






Picture showing the error handling commands in automation anywhere
Click to Enlarge



Picture showing the Begin Error Handling command popup in automation anywhere
Click to Enlarge



  1. Log File – Here you will specify the complete path of the log file.
  2. Text – Text to be written in log file in case of error. Here I am using 2 predefined variables i.e. ‘$Error Line Number$’ and ‘$Error Description$’ to specify the line number where the error has occurred and the error description.


Picture showing the error handling code in automation anywhere
Click to Enlarge


Output




Picture showing the captured exception written in the text file
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, September 28, 2018

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250