Bot failing in RDP session

Bot failing in RDP session due to click and keyboard shortcuts, but some process is running but some process is not executed properly.

@logesh_kumar1

  1. Is the robot installed in service mode?
  2. Is the machine signed out properly before bot execution?
  3. Did you try setting login to console to false in your robot settings?

Cheers

@logesh_kumar1

Is the bot a attended or else unattended ?

Regards

but whatever settings configured, its running fine on another process. only failing in particular process.

@vrdabberu its unattended bot

@logesh_kumar1

try re-indicating the fields. In this case selectors might be the issue.

Regards

@logesh_kumar1

can you please tell the error…also when you try to execute the process if robot is not installed in service mode…it all depends on your luck if it gets executed or not

for few processes it would have worked as well…and please let us know the erro and is it failing on specific activities?

does it say target application could not be taken to foreground

also are the selectors verified properly

cheers

yes target element couldn’t taken to foreground came, but after changing the properties it goes away, but now its showing Could not find the user-interface (UI) element for this action for click/type into activity, for keyboard actions its showing diconnected from remote kind of errror

tried that, but if i open the RDP its working fine, only throwing the issues when i disconnected the VM

@logesh_kumar1

All these errors looks like the robot issue or the target system being left without being signed out

Did you happen to verify the screenshot ?

is the screenshot failing as well with boundaries not identified or so?

if screenshot is also failing then you need to check the robot installation type and make it service mode or else you would face similar issues always

and when you run unattended you should sign out instead of disconnect

cheers

Yeah, tried with signout option also, it didnt worked for me as well, will check how the installation configured? is changing into service mode is the only solution?

@logesh_kumar1

When you signed out did it throw any error?

first check if it is installed in service mode for this go to system → task manager and then scheck in details tab if you see UiPath.service.host service is available or not

If it is already in service mode please try with login to console set to false in your robot settings in the orchestrator

I hope your selectors and navigations are proper

cheers

@logesh_kumar1

Please check the bot settings

hope it works!!

Its installed in service mode and console state also false here :upside_down_face:

@logesh_kumar1

Thats a news…can you try signout and then try to run a check

Also are the selectors containing any dynamic content? Or any numbers which might change

Cheers

@Anil_G selectors didn’t change, bcz if I run as attended as its working as expected, it fails only RDP in disconnected mode

@logesh_kumar1

Please try signout instead of disconnect

cheers

@Anil_G tried that tooo…

@logesh_kumar1

Can you please show the selector…or are there any pop ups that you are getting?

is the screenshot of error verified?

cheers