I was checking the Event Viewer of one of our Robot VM and I started seeing a non-negligible amount of UiPath Related Application Error Event Logs.
The timing of the events didn’t make any sense because there were no errors with the process that had run at that particular time. After further examination, I arrived at the conclusion that UiAutomation (Next or Modern Design, however you want to call it…) are generating those event logs. In particular there was one that intrigued me:
This was rare because the Robots Logs didn’t indicate any error Opening the Browser. The conclusion that I’ve arrived is that when using the Use Application/Browser activity, if you use the Open IfNotOpen Mode, it will generate this error event if it has to open the browser (aka didn’t found an open session with the provided URL).
This isn’t the only activity from UiAutomation[Next] that generates these event logs:
This didn’t happened with the good-old Open Browser and classic UiAutomation activities.
It doesn’t affect Production, but can make troubleshooting windows problems much confusing. Ideally it shouldn’t generate any error event logs if the activity is successful.