Troubleshooting Guide: ElementOperationException Timeout Reached

UiPath.Core.ElementOperationException: Timeout reached. ---> System.Runtime.InteropServices.COMException: Timeout reached.

The error "Timeout reached" occurs when the robot is waiting for some elements to come on the screen and the element is not available on the screen even after the 30sec(default). It might be possible that though the visuals of the elements are available, the background code of the element is not fully loaded in the system.

Please follow the below approach:

  1. Increase the time out amount in the field "Timeout"
  2. Use the activity "Element Exists" before performing the specific action on the element (like Click) so that you get to know whether the robot is able to detect the element or not.
  3. If some activity is used that has the property of "WaitForReady", then try with the setting of "None / COMPLETE".

  1. Use the "Retry" activity to retry the automation in case it fails
  2. Check the sendwindowMessages/ SimulateClick option in properties panel & verify,

  1. Use the activity "Take Screenshot" + "Save Image" to capture the image of the screen.

In this way, it is possible to visualize what the state of the screen was when the failure occurred i.e in case there were any system Pop-Ups which were not expected etc.

As the Robot is being run in Unattended mode, set the value of "LoginToConsole" to "false" and apply the resolution settings of the development server (machine where the project was developed on Studio)

The Resolution settings can be done in the Runtime window which is attached below,


Or change the resolution parameter values in %ProgramData%\UiPath\UiPath.settings file in Robot machine.

Use the below link to make the changes,

1 Like