cancel
Showing results for 
Search instead for 
Did you mean: 

Clipboard / SendKeys / Screenshots did not work on unattended bot

Cheng_PeiYeo
Level 2
Hi,

We are encountering the following behaviour when running our processes on an unattended bot, which runs on a VDI:
  • Clipboard does not seem to work (we're copying text from a command prompt window, so spying is not possible)
  • SendKeys do not work e.g. regular alphanumeric text, {ENTER}
  • Screenshots (using code stage "SendKeys.SendWait("^{PRTSC}");") captured are completely blacked out
The same processes work fine when the VDI is open and running on attended mode. 

Additionally, when the VDI is open, the VDI resolution only scales up to a certain resolution (1280 x 800) even if the window is maximised, resulting in a large black border around the actual windows desktop (see attached image). This may or may not be a symptom of the same root cause for the problems above, but isn't the primary issue we're trying to resolve.

What could be the issue here?

36241.png
2 REPLIES 2

EVIPUTI
MVP
To me it looks like more of a resolution issue . As soon as you are closing your VDI seems your VDI resolution is changing . Can you keep a stage in start of process to check what resolution it comes to when disconnected ?
------------------------------ Vipul Tiwari Senior Process Simplification Developer Amazon ------------------------------

Cheng_PeiYeo
Level 2
Hi @Vipul Tiwari thanks, I've just tried that and it captured the resolution as 1280x800, which seems alright. Any other thoughts on what might be causing this behaviour, particularly around the clipboard/sendkeys/print screen not working?​