- Getting Started
- Setup and Configuration
- Automation Projects
- Dependencies
- Types of Workflows
- Control Flow
- File Comparison
- Automation Best Practices
- Source Control Integration
- Debugging
- Logging
- 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-NMG-017 - Class name matches default namespace
- ST-DBP-002 - High Arguments Count
- ST-DBP-003 - Empty Catch Block
- ST-DBP-007 - Multiple Flowchart Layers
- ST-DPB-010 - Multiple instances of [Workflow] or [Test Case]
- ST-DBP-020 - Undefined Output Properties
- ST-DBP-021 - Hardcoded Timeout
- 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
- ST-USG-005 - Hardcoded Activity Arguments
- ST-USG-009 - Unused Variables
- ST-USG-010 - Unused Dependencies
- ST-USG-014 - Package Restrictions
- ST-USG-017 - Invalid parameter modifier
- ST-USG-020 - Minimum Log Messages
- ST-USG-024 - Unused Saved for Later
- ST-USG-025 - Saved Value Misuse
- ST-USG-026 - Activity Restrictions
- ST-USG-027 - Required Packages
- ST-USG-028 - Restrict Invoke File Templates
- ST-USG-032 - Required Tags
- ST-USG-034 - Automation Hub URL
- Variables
- Arguments
- Imported Namespaces
- Coded automations
- Introduction
- Registering custom services
- Before and After contexts
- Generating code
- Generating coded test case from manual test cases
- Troubleshooting
- Trigger-based Attended Automation
- Recording
- UI Elements
- Selectors
- Object Repository
- Data Scraping
- Image and Text Automation
- Citrix Technologies Automation
- RDP Automation
- VMware Horizon Automation
- Salesforce Automation
- SAP Automation
- macOS UI Automation
- The ScreenScrapeJavaSupport Tool
- The WebDriver Protocol
- Extensions
- About extensions
- SetupExtensions tool
- UiPathRemoteRuntime.exe is not running in the remote session
- UiPath Remote Runtime blocks Citrix session from being closed
- UiPath Remote Runtime causes memory leak
- UiPath.UIAutomation.Activities package and UiPath Remote Runtime versions mismatch
- The required UiPath extension is not installed on the remote machine
- Screen resolution settings
- Group Policies
- Cannot communicate with the browser
- Chrome extension is removed automatically
- The extension may have been corrupted
- Check if the extension for Chrome is installed and enabled
- Check if ChromeNativeMessaging.exe is running
- Check if ComSpec variable is defined correctly
- Enable access to file URLs and Incognito mode
- Multiple browser profiles
- Group Policy conflict
- Known issues specific to MV3 extensions
- List of extensions for Chrome
- Chrome Extension on Mac
- Group Policies
- Cannot communicate with the browser
- Edge extension is removed automatically
- The extension may have been corrupted
- Check if the Extension for Microsoft Edge is installed and enabled
- Check if ChromeNativeMessaging.exe is running
- Check if ComSpec variable is defined correctly
- Enable access to file URLs and InPrivate mode
- Multiple browser profiles
- Group Policy conflict
- Known issues specific to MV3 extensions
- List of extensions for Edge
- Extension for Safari
- Extension for VMware Horizon
- Extension for Amazon WorkSpaces
- SAP Solution Manager plugin
- Excel Add-in
- Studio testing
- Troubleshooting
- About troubleshooting
- Assembly compilation errors
- Microsoft App-V support and limitations
- Internet Explorer X64 troubleshooting
- Microsoft Office issues
- Identifying UI elements in PDF with Accessibility options
- Repairing Active Accessibility support
- Validation of large Windows-legacy projects takes longer than expected

Studio User Guide
Test Cases
Application testing in Studio works in either VB or C#. You can create individual automation projects for scenarios like data verification or integration with your CI/CD pipeline. Design your workflow in Studio. You can perform automated application testing in VB or C#.
- Perform application testing through regular test cases and data-driven test cases.
- Test Automation projects can have multiple entry points if they contain several test cases with linear execution, as the activities are organized sequentially.
- Workflow execution is performed
per test case unless other
XAML
files are invoked. - You can convert workflows to test cases, import from other projects or create new ones.
- To perform application testing, you need to work with a Test Automation project.
- To perform verifications, generate random test data, and manage your existing test data, you need to install the Testing Activities Package.
- Open your project of type Test Automation.
- In the Studio design ribbon, select the New dropdown list.
- Select Test Case or Coded Test Case.
- In the New Test Case menu, configure the test case that you want to
create:
- Give the test case a name.
- Optionally, select a test case template based on which you want to
create your test case.
For information on test case templates, visit Test Case Templates
- Optionally, choose an execution template.
For information on execution templates, visit Execution Templates.
Figure 1. The New Test Case menu
- Select Next to navigate to the Test Data section, where you can configure specific test data for this test case.
- Select Create to finish the test case creation.
RPA testing in Studio works in either VB or C#. You can create individual automation projects for scenarios like data verification or integration with your CI/CD pipeline. Design your workflow in Studio. You can perform automated RPA testing in VB or C#.
- Perform RPA testing through regular test cases and data-driven test cases.
- Workflow execution is performed
per test case unless other
XAML
files are invoked. - You can convert workflows to test cases, import from other projects or create new ones.
- To perform RPA testing, you need to work with a Process project type.
- To perform verifications, generate random test data, and manage your existing test data, you need to install the Testing Activities Package.
- Open your project of type Process.
- You can create a test case by invoking a workflow from an existing project, by
following these steps:
- Open your workflow.
-
In the Projects panel, right-click the workflow and choose Create Test Case.
-
(Optional) Select Mock workflow under test when you create your test case if you want to make a copy of your workflow where you can mock specific activities. If you have an existing mock file that you want to use, you can select it from the Mock dropdown list. For more information, see Mock Testing.
- (Optional) Select a Template from the dropdown list if you have created one previously. For more information, see Test Case Templates.
- (Optional) Add the test case to an Execution Template. You need to have created an execution template first. For more information, see Create execution template.
- Select Next if you want to add test data.
-
Select Create to confirm the changes.
A test caseXAML
file is created invoking the workflow with the following containers: Given, When, and Then. The file is invoked inside the Invoke Workflow File activity, part of the When container.
Arguments from the workflow are automatically imported. To view or add more arguments, select Import Arguments in the Invoke Workflow File activity.
If you have test cases within your project, then you can choose to either publish the entire project (Publish) or only the test cases (Publish test cases). If you are working with a Test Automation project, you can only publish test cases to Orchestrator.
- Right-click a test case and
select Set as Publishable, to allow the test case to publish to
Orchestrator.
Thexaml
orcs
icon will turn blue as an indication that the test case is ready to be published and packaged in anupkg
file. To revert back to your workflow draft, right-click the workflow and select Ignore from Publishing. - Publish the project:
- If you are in a Test Automation project, select Publish in the Studio Design tab ribbon.
- If you are in a Process or Library project, select Publish test cases from the Studio Design tab ribbon.
- Configure the Package properties, Publish Options, and the Certificate signing settings for the publishing action, then click Publish to publish your test cases to Orchestrator.
You can publish the test cases to Orchestrator, to Robot defaults or a custom path. If you want to publish to Orchestrator, make sure your Robot or Assistant is connected to Orchestrator.
Publishing to Orchestrator is also required when you want to execute automated tests through Test Manager. Make sure to publish the package to the Orchestrator Tenant Process Feed, then link the test cases to Test Manager. Publishing the package in a different folder may result in execution errors.
To convert workflows into test cases, right-click the workflow in the Project panel and select Convert to Test Case:
Alternatively, to convert a test case back into a workflow, right-click a test case and select Convert to Workflow.
XAML
files are added to your project as draft test cases.
Similarly to importing data collections into API Test Automation libraries, you can import such collections into your application testing projects using the New Service wizard.