Click Image Activity Not Working in Unattended Mode (UiPath 23.10.7)

Hi everyone,

I’m facing an issue with the “Click Image” activity on my tool. in UiPath 23.10.7 (Windows project). The automation works perfectly in Attended mode, but when I run it in Unattended mode from Orchestrator, the Click Image activity fails or does nothing.

This happens when trying too to click a dropdown from an Excel Addin (custom ribbon button). It seems like the image is not being detected at all.

Here’s some context:

  • UiPath version: 23.10.7
  • Excel is opened via “Use Excel File” activity
  • Target: Dropdown from an Excel Add-in
  • Works in Studio/Attended
  • Fails in Unattended Robot
  • No exception is thrown, but nothing happens

for your information this is an existing process I have, and its worked well on attended or unattended mode using UiPath 22.10.07 Legacy compatibility

Thank you in advance !

Hi @Naoufal_Lamarti_LU,

I had faced this issue a while ago, not with the Click Image activity per se, but with Check App state, it was working before, but it doesn’t anymore, and the same thing works in attended but not unattended, in the end I had to use the Check App State on some other element, but one thing that I did notice was if the resolution of the machine has changed then the same Check App State won’t work.

Could you check the log message of the Display resolution in both attended and unattended, if they’re different that might explain why it’s not working.

Hey @Naoufal_Lamarti_LU try to enable the send window message from the property section. and use the retry activity might be the increase time resolve your issue sometime the element take time to appear and the click activity did not wait for that time. and make the wait for ready to be (Complete).

cheers

Try upgrading the Ui Packages to the latest and see if it is working as expected or not