- Release Notes
- Getting Started
- Setup and Configuration
- Automation Projects
- Dependencies
- Types of Workflows
- File Comparison
- Automation Best Practices
- Source Control Integration
- Debugging
- The Diagnostic Tool
- Workflow Analyzer
- About Workflow Analyzer
- ST-NMG-001 - Variables Naming Convention
- ST-NMG-002 - Arguments Naming Convention
- ST-NMG-004 - Display Name Duplication
- ST-NMG-005 - Variable Overrides Variable
- ST-NMG-006 - Variable Overrides Argument
- ST-NMG-008 - Variable Length Exceeded
- ST-NMG-009 - Prefix Datatable Variables
- ST-NMG-011 - Prefix Datatable Arguments
- ST-NMG-012 - Argument Default Values
- ST-NMG-016 - Argument Length Exceeded
- ST-DBP-002 - High Arguments Count
- ST-DBP-003 - Empty Catch Block
- ST-DBP-007 - Multiple Flowchart Layers
- ST-DBP-020 - Undefined Output Properties
- ST-DBP-023 - Empty Workflow
- ST-DBP-024 - Persistence Activity Check
- ST-DBP-025 - Variables Serialization Prerequisite
- ST-DBP-026 - Delay Activity Usage
- ST-DBP-027 - Persistence Best Practice
- ST-DBP-028 - Arguments Serialization Prerequisite
- Variables
- Arguments
- Imported Namespaces
- Recording
- UI Elements
- Control Flow
- Selectors
- Object Repository
- Data Scraping
- Image and Text Automation
- Automating Citrix Technologies
- RDP Automation
- SAP Automation
- VMware Horizon Automation
- Logging
- The ScaleCoordinates Migration Tool
- Best Practices and Limitations
- Example of Using the ScaleCoordinates Migration Tool
- The ScreenScrapeJavaSupport Tool
- The WebDriver Protocol
- StudioPro
- Extensions
- Troubleshooting
Best Practices and Limitations
To run a workflow in Studio in 2018.2 which was designed at a non-standard DPI in a previous version of Studio, you need to use the ScaleCoordinates tool to migrate it. Since workflows that were designed at standard DPI should work out of the box, the need for this tool is scarce.
However, not all applications properly respond to scaling, even after the ScaleCoordinates tool is used. Elements usually scale linearly according to the DPI factor, but the UI element position can vary depending on the application layout. Below are a few recommendations:
- Set the ClippingRegion relative to the target button instead of the top-level containers. This only occurs when running a workflow created in a Studio version prior to 2018.2 at 125% DPI.
- Set ClippingRegion or OffsetX and OffsetY properties to a maximum of 10 pixels. This is usually caused by Click activities with a ClippingRegion set on the border of the target UI element. Please note that this can also happen after using the ScaleCoordinates tool.
- Update Windows 10 to at least Build 1703. This fixes rare cases in which workflows with non-standard DPI would not scale properly, causing inconsistent UI element recognition.
Detecting web page elements in a Chrome instance can appear imprecise in particular scenarios. This can occur when the Chrome window is opened on a monitor with 125% DPI, moved to a monitor with default DPI, and attempting to select elements inside the browser page. In this case, you can do the following:
- Minimize and restore the Chrome window;
- Maximize the Chrome window;
- Resize the Chrome window.