Click Image fails in back office bot

orchestrator

#1

Hi
Whenever I run the bot from the Orchestrator as unattended (that is, VM is signed out), it always fails in click image activities.
However, whenever I execute from local as front end, it works.

Has anyone else faced such issue?


#2

Even I’m facing the same issue. When I run the robot through orchestrator also, I’m getting the same click image failure issue saying “Image not found” but works fine with manual run.


#3

I solved this issue by changing the X and Y co-ordinates of image. Due to resolution issues, when robot is running using scheduler (windows or orcehstrator), click is happening outside of image and this has been solved in my robot by adjusting the co-ordinates.


#4

Im having the same problem.

Is there any other way to fix it ? I prefer dont put the exactly coords because maybe the resolution of the VM could change if someone else launch the robot in that VM. It depends.

Any idea ?


#5

The resolution of the machine can be controlled by setting the Resolution settings in UiPath.Settings file, or in 2018.1 by specifying the properties of the robot. https://robot.uipath.com/docs/uipathsettings-file-description


#6

but… why a unattended process fail in click image acitivity?

I dont get why my robot works perfectly in attended mode, and when I launch it in unattended it fails…

I have to solve it


#7

Hi @Pablo_Sanchez,

Make sure the whether the correct screen is appear.

can you take screen shot activity before clicking the image activity.

May be its not went to the screen itself before itself you are getting some issue

Regards,
Arivu


#8

Hi @arivu96,

Honestly I cant take a screenshot because it works great when I launch it manually. If i launch it unattended it fails, but I wont be there to take an screenshot.

More than that, the reason of the error that UiPath give to me is: " couldn’t click in text ‘Dat.org.’ ". That’s the text which the robot has to click, and work perfectly unless I launch it unattended. So, thinking in that error, we can suposse that the robot arrives to that screen, but fails in click the text of the image.

Thank you very much.

Regards,

Pablo


#9

I have the same problem as @Pablo_Sanchez and I followed your instructions. I wasn’t able to get it working.

Any sugestions?


#10

my suggestion is use click activity instead of using click image… and also choose the Simulate click


#11

Hi @Bernardo_Ferreira,

I solved it using “Launch interactive workflow” activity. With this one, you can select the exact resolution that you want the robot will use in its process, I mean, my process was failing because I launch it in a VM which limits the resolution at 800x600… so with this activity, and checking the propertie “loginToconsole”, my process was launch at 1024x720 and it worked great.

As @rajsekhar says, you can try to use other activites or send hotkeys to navigate through an application, but it will be harded to code, even with an small process…

Hope it could help you guys.
Bests,
Pablo