When exceptions occur in a UIPath project I have an email that is sent out with the exception info included. There seems to be an issue though where I can only see where the error occurred by looking at the selector information such as:
Cannot find the UI element corresponding to this selector:
<html app='chrome.exe' title='Microsoft Dynamics GP' />
<webctrl aaname='Add' idx='1'
parentid='a00000000000000008549000000030009000000000001000000000000' tag='DIV' />
This info and the stack trace or any other info is not helpful for quickly finding the source of the problem. I have looked through the UIPath documentation and forum and found only this question, which seemed to point to using the exception. Source to show the name of the activity where the error occurred. exception. Source only returns “UiPath.Core.Activities” though instead of "Type into Copy Job# 'INPUT'" in the following example:
This causes a big problem with exception handling. How can I easily return the source with each exception?