When automating applications over Citrix (or Remote Desktop), UiPath uses image recognition to identify elements on the screen. Sometimes an offset is used after locating the image, as for performing a relative click or a relative screen scrape.
Image automation techniques may be sensible to resolution differences between the development and production environments. Although UiPath works well for identifying images at different resolutions even when reasonable scaling is involved, there are cases when automation may break or misbehave, depending on host and VM resolution variations:
- For a smaller VM resolution, elements might be rearranged in an application with responsive layout or elements may be left out of viewport if scrollbars appear
- For a smaller host resolution than the VM resolution, elements may be either left out if scrollbars appear in the VM window or they may suffer severe visual distortion if autoscaling is applied instead
Therefore, a general guideline would be that in production environment, resolutions should be at least as in development phase and that the host resolution be greater or equal to VM resolution, yet ideally both resolutions should be the same.
By default, when a robot starts an interactive Windows session (via Orchestrator or from Windows Task Scheduler), it uses the system resolution that the user configured for the machine.
If a custom resolution needs to be designated for the robot, following should be defined in %ProgramData%\UiPath\UiPath.settings file:
- ResolutionWidth
- ResolutionHeight
- ResolutionDepth
LoginToConsole flag makes a difference for these settings by establishing if the robot starts an interactive Windows session by logging to the console or by simulating a RDP session.
If LoginToConsole is true, the resolution is limited by the graphical card of the robot machine (which might be as low as 800x600 in some cloud environments), otherwise the resolution for a simulated RDP connection is restricted by RAM (which would generally be more permissive).
Currently, resolution configuration is specific to the robot machine, but it will soon be included in project.json file in a future UiPath release.
Thanks for sharing the valuable information here. So i think i got some useful information with this content. Thank you and please keep update like this informative details.
ReplyDeleteVisit us: Java Online Training Hyderabad
Visit us: Core Java Online Course
Visit us: java course
Excellent article and with lots of information. I really learned a lot here. Do share more like this.
ReplyDeleteBlue Prism Training in Chennai
UiPath Training in Chennai
Blue Prism Online Training
UiPath Online Training
Great Blog with Good Information.
ReplyDeleteUiPath Online Training
UiPath Online Course
ReplyDeleteThanks for this informative blog, keep sharing your thoughts like this.
Scrum planning
Scrum Methodologies
Great blog on configuring robot screen resolution in UiPath RPA! The step-by-step instructions are clear and easy to follow. This will surely help users optimize their automation processes for better performance. Thank you for sharing these valuable insights!
ReplyDeleteGreat article! Adjusting screen resolution is crucial for optimizing automation performance. Clear instructions and helpful tips make it easier to understand how to tackle this common challenge. Thanks for sharing this valuable information! Beatriz Barata
ReplyDelete