Getting started - Control the environment

Using Yarado Robots

Yarado Robots are using the Microsoft Windows Ecosystem. They are User Interface driven and therefore mostly require a Windows User Interface when running Tasks.

Because mainly a lot of tasks will be running unattended, on schedules Yarado will mainly be running within Remote Desktops, it does not matter if this is Virtual machine Based or Remote Desktop Based.

Remote Desktop Protocol is quite flexible to enable a broad support of technologies, this support can create uncontrolled environments. Although it can be managed by adding many business rules it is much easier to control the environment, before the environment controls you.

Create Fixed Environments for Yarado Robots (RDP)

Advantage Creating Fixed environments

When you control the environment lesser business rules are needed to automate different scenario’s
No need to adjust already recorded tasks for different screen resolutions
Scale out made easy, all environments can run the same task seamless without adjustments

Screen Resolution: Recommended 1680x1050

Different Display sizes have different aspect ratio’s, different aspect ratios are difficult to manage for Computer Vision Template matching. To use the power of Computer Vision a controlled environment will suit best

Take note of Fixed Display Sizes and screen ratio’s. Mixing screen sizes and ratio of 16:9 and 4:3 is not advised.

Ratio 16:9 1024×576, 1152×648, 1280×720, 1366×768, 1600×900, 1920×1080, 2560×1440 and 3840×2160

Ratio 4:3 640×480, 800×600, 960×720, 1024×768, 1280×960, 140640×480, 800×600, 960×720, 1024×768, 1280×960, 1400×1050, 1440×1080, 1600×1200, 1856×1392, 1920×1440, and 2048×15360×1050, 1440×1080, 1600×1200, 1856×1392, 1920×1440, and 2048×1536

When a to small resolution is selected, addition scrolling may be required in applications, or some portions of the screen may not be displayed correctly

When a to high resolution is selected, all pixels within a screen must be processed with computer vision, every higher step in screen resolution means the number of pixels that needs to be processed is squared

The recommended screen resolution is 1680x1050, the reason for this it that it will fit in an 1920x1080 resolution that is most common now. Making it easier to switch to desktop and back and forth

image
Font Smoothing is used to create a crispy smooth font, this is done by rendering shading around the contours of the font.

The challenge in this is that the shading can be rendered different the next time you connect, Hence finding the correct step with Computer Vision can become more difficult.

When you have the choice disable Font Smoothing

Clipboard sharing

When clipboard sharing within RDP settings are activated, tasks that us any Clipboard might cause problems, Because the clipboard within the robot needs to be synchronized with the local machine

Suppress when minimized

Whenever an RDP session is minimized, the new standard for Microsoft is to disable the user interface to save resources. Yarado heavily relies on the User Interface, therefore tasks won’t continue when the RDP window is minimized

See Appendix2: for settings to enable running the Yarado Robot in minimized RDP windows.

Exercise 1 – Control the environment

Composing a fixed RDP file for use within all robots and environments, Copy the text between the lines marked with ** and save as ComputerName_Type.RDP (e.g. Yarado001_noClip_nofontSmoothing.RDP)

Make different configuration for sharing Clipboard and Drive sharing to make synchronization of data and task files easier

Create an RDP file with:

  • Server: *ServerName.location.cloudapp.azure.com:33890
  • Username: Demo611
  • Font_Smoothing: Disabled
  • Resolution 1680X1050
  • Clipboard Disable

open Notepad and copy the text

Copy below these lines below section

screen mode id:i:1

use multimon:i:0

desktopwidth:i:1920

desktopheight:i:1080

session bpp:i:32

winposstr:s:0,1,43,104,1963,1133

compression:i:1

keyboardhook:i:2

audiocapturemode:i:0

videoplaybackmode:i:1

connection type:i:7

networkautodetect:i:1

bandwidthautodetect:i:1

displayconnectionbar:i:1

enableworkspacereconnect:i:0

disable wallpaper:i:0

allow font smoothing:i:0

allow desktop composition:i:0

disable full window drag:i:1

disable menu anims:i:1

disable themes:i:0

disable cursor setting:i:0

bitmapcachepersistenable:i:1

full address:s: yarado006.westeurope.cloudapp.azure.com:33890

audiomode:i:0

redirectprinters:i:0

redirectcomports:i:0

redirectsmartcards:i:1

redirectclipboard:i:0

redirectposdevices:i:0

autoreconnection enabled:i:1

prompt for credentials:i:0

negotiate security layer:i:1

remoteapplicationmode:i:0

alternate shell:s:

shell working directory:s:

gatewayhostname:s:

gatewayusagemethod:i:4

gatewaycredentialssource:i:4

gatewayprofileusagemethod:i:0

promptcredentialonce:i:0

gatewaybrokeringtype:i:0

use redirection server name:i:0

rdgiskdcproxy:i:0

kdcproxyname:s:

drivestoredirect:s:

username:s:YaradoDemo

** Copy Above This line section **


Save file as Servername.RDP file and double click to open and start connecting

More info :

1 Like