When you are working with automation on remote desktops or servers, there are some settings that you need to be particularly aware of. Because, unless you implement below settings, the graphical user interface (GUI) of the remote desktop will be turned off and Foxtrot will not be able to run the automation. In other words, if the GUI is turned off, the "screen" is not activated and Foxtrot cannot interact with anything on the screen, so almost no actions will work, whether that is 'Click', 'Send Value', 'Wait for Target', or any other action that is related to something on the screen.
Minimizing The Remote Desktop While Running Foxtrot
Disconnecting From Remote Desktop While Running Foxtrot
- Read this article to be able to run automation with Foxtrot while disconnected from the Remote Desktop.
Avoid automatic lock or sleep
It is very important to make sure that your virtual machines and servers do not lock, go to hibernation, or similar, after a certain amount of time. This will also prevent Foxtrot from performing the scheduled or triggered projects successfully.
Screen resolution settings
It is also important to ensure that all users that use the machine with the robot use the same access settings in terms of screen.
Click on Show Options:
Then click on Display from here:
From the Display tab, you can alter the resolution/size using the slider:
From there you can click Connect and it should start at the requested resolution. Everyone must select the same resolution from the slider. After a user sets it up once, moving forward it will automatically use that resolution. We suggest using the lowest resolution of your users. So if someone is at 1920x1080 and someone is at 1280x720 then using the 720 resolution would be best. Of course, the higher the resolution the better.