- Vue d'ensemble (Overview)
- Interface de ligne de commande UiPath
- À propos de la CLI UiPath
- Téléchargement de la CLI UiPath
- Matrice de compatibilité
- Exécution de la CLI UiPath
- Gestion des flux NuGet
- Test Manager Support
- Compression de projets dans un package
- Signing project packages
- Analyser un projet
- Déploiement d'un package sur Orchestrator
- Exécuter une tâche dans Orchestrator
- Tester un package ou exécuter un ensemble de test
- Tester plusieurs packages
- Déploiement des ressources sur Orchestrator
- Suppression de ressources d'Orchestrator
- Exécution de tâches à l'aide de la configuration JSON
- Restauration des dépendances de l'automatisation
- Vue d'ensemble (Overview)
- Restauration et analyse des solutions
- Compression d’une solution
- Signing solution packages
- Charger et supprimer des packages de solutions
- Téléchargement des packages et des configurations de solutions
- Déployer et activer des solutions
- Désinstallation des déploiements
- Authentification et étendues
- Résolution des problèmes d'interface en ligne de commande UiPath
- Extension Azure DevOps
- À propos de l’extension Azure DevOps
- Configuration de la connexion au service Azure DevOps
- Ajouter des tâches UiPath à un pipeline Azure DevOps
- Plate-forme d'installation UiPath
- Pack de solutions UiPath
- Charger le package de solution UiPath
- Déploiement de la solution UiPath
- Activation de la solution UiPath
- Supprimer le package de solution UiPath
- Configuration du téléchargement de la solution UiPath
- Package de téléchargement de la solution UiPath
- Déploiement de la désinstallation de la solution UiPath
- Résolution des problèmes rencontrés avec l’extension Azure DevOps
- Plugin Jenkins
- À propos du plug-in Jenkins
- Installation du plugin Jenkins
- Configuration de la connexion au service pour les applications externes
- Plate-forme d'installation UiPath
- Pack de solutions UiPath
- Charger le package de solution UiPath
- Déploiement de la solution UiPath
- Déploiement d’activation de la solution UiPath
- Supprimer le package de solution UiPath
- Configuration du téléchargement de la solution UiPath
- Package de téléchargement de la solution UiPath
- Déploiement de la désinstallation de la solution UiPath
- Résolution des problèmes du plug-in Jenkins

Guide de l'utilisateur des intégrations CI/CD
Testing a package or running a test set in Test Manager
Prérequis
-
Use the latest Test Manager version (Test Manager 2.2510 or higher for Automation Suite delivery or Test Manager 25.10 or higher for standalone installation).
-
If you already have a test set running in Orchestrator, import the test set to Test Manager. For more information, refer to Test Manager - Importing Orchestrator test sets. Get the testset-key after import.
-
Create a project in Test Manager and get the project-key. Get the project-key from Test Manager > Dashboard tab > Projects > All projects.
-
Create a package or a test set with automated test cases. Get the testset-key from Test Manager > Test Sets tab > Key column.
-
Get the ClientId and ClientSecret. For more information on how to get the ClientID and ClientSecret, refer to the Registering an external application section of the CI/CD integrations - Executing UiPath CLI tasks topic.
-
Run the uipcli.dll file for Windows/Linux/macOS.
-
Add the required Test Manager API access application scopes. For more information on the Test Manager scopes, refer to the CI/CD integrations - Executing UiPath CLI tasks topic.
Using Test Manager with CLI
To test a package using Test Manager, take the following steps: Run the test task, using uipcli test. You can notice a list of available sub-tasks. Specify the required parameters and run the run sub-task.
To use Test Manager instead of Orchestrator testing, specify the --projectKey parameter in the test run command. The CLI will automatically route your tests through Test Manager.
Test command parameters
| Paramètre | Description | Requis |
|---|---|---|
Orchestrator URL (pos. 0) | The URL of the Orchestrator instance | Oui (Yes) |
Orchestrator Tenant (pos. 1) | The tenant inside which the package, or Test Set are | Required for SaaS deployments, Optional for PaaS deployments |
-P, --project-path | The path to the Testing package file that you want to test | Non (No) |
--projectKey | The project key displayed in Test Manager > Dashboard tab > Projects > All projects. The project key is the prefix for all object keys. | Yes (for Test Manager) |
--testsetkey | The Test Set key displayed in Test Manager Test Manager > Test Sets tab > Key column. Ensure that the Test Set includes the most recent version of the Test Cases. If the Test Set is not in the default folder, make sure to include the relevant folder name before it. For instance, use AccountingTeam\TestSet. | Non (No) |
-s, --testset | The name shown for the Test Set you wish to execute. Ensure that the Test Set includes the most recent version of the Test Cases. If the Test Set isn't in the default folder, make sure to include the relevant folder name before it. For instance, use AccountingTeam\TestSet | Non (No) |
--out | The type of the result file (junit or uipath) | Non (No) |
-r, --result_path | The destination path of the file where you want to store the results | Non (No) |
-e, --environment | The environment where you want to deploy the package. You must pair it with the project path | Required for classic folders |
-w, --timeout | The time (in seconds) that you want to wait for the Test Set to execute. The default value is 7200 seconds | Non (No) |
-i, --input_path | The full path to a JSON input file | Required if the entry-point workflow has input parameters |
--attachRobotLogs | Attaches Robot Logs for each executed Test Case, and a JUnit Test Report | Non (No) |
--repositoryUrl | The repository URL where the project is versioned | Non (No) |
--repositoryCommit | The repository commit where the project was built from | Non (No) |
--repositoryBranch | The repository branch where the project was built from | Non (No) |
--repositoryType | VCS system repository type | Non (No) |
--projectUrl | Automation Hub idea URL | Non (No) |
--releaseNotes | Ajouter des notes de publication | Non (No) |
--disableBuiltInNugetFeeds | Désactiver les flux NuGet intégrés | Non (No) |
--retryCount | Number of retries for failed test cases (by default, no retry is set) | Non (No) |
-u, --username | The username used for authenticating to Orchestrator. You must pair it with the corresponding password | Required for Basic Authentication |
-p, --password | The password used for authenticating to Orchestrator. You must pair it with the corresponding username | Required for Basic Authentication |
-t, --token | The OAuth2 refresh token used for authenticating to Orchestrator. You must pair it with the Account Name and Client ID | Required for token-based authentication |
-a, --accountName | The Orchestrator CloudRPA account name. You must pair it with the OAuth2 refresh token and Client ID | Required for token-based authentication |
-A, --accountForApp | The Orchestrator CloudRPA account name (organization name). You must pair it with the Application ID, Application Secret, and Application scope for external application | Non (No) |
-I, --applicationId | The external Application ID. You must pair it with the Application Account, Application Secret, and Application scope | Required for external application authentication |
-S, --applicationSecret | The external Application Secret. You must pair it with the Application Account, Application ID, and Application scope | Required for external application authentication |
--applicationScope | The list of application scopes, separated by single spaces. You must pair it with the Application Account, Application ID, and Application Secret for external application | Optional for external application authentication. Using default scopes if not specified otherwise |
-o, --organizationUnit | The Orchestrator folder where you want to execute the Test Sets | Non (No) |
--author | The package author. | Non (No) |
-l, --language | The language used in the Orchestrator user interface | Non (No) |
--traceLevel | Display the trace of the events | Non (No) |
--identityURL | The URL of your identity server | Required for PaaS or MSI deployments |
When using external application authentication without specifying the --applicationScope parameter, the CLI automatically applies these default Test Manager scopes:
TM.Projects TM.TestSets TM.TestExecutions
In addition to default OR scopes:
OR.Assets OR.BackgroundTasks OR.Execution OR.Folders OR.Robots.Read OR.Machines.Read OR.Jobs OR.TestSets OR.TestSetExecutions OR.Monitoring OR.Settings.Read
Exemples d'utilisation
Execute an existing test set in Test Manager:
# Windowsuipcli test run "https://cloud.uipath.com/" "TenantName" ` --projectKey "MyTestProject" ` --testsetkey "MyTestSet" ` -A "organizationName" ` -I "becc663c-8f1e-409a-a75f-c00330d80bc8" ` -S "********" ` --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" ` -o "FolderName" ` --out "junit" ` --result_path "C:\TestResults" --author ExampleAuthor# Linux/macOSuipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./test-results" --author ExampleAuthor# Windowsuipcli test run "https://cloud.uipath.com/" "TenantName" ` --projectKey "MyTestProject" ` --testsetkey "MyTestSet" ` -A "organizationName" ` -I "becc663c-8f1e-409a-a75f-c00330d80bc8" ` -S "********" ` --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" ` -o "FolderName" ` --out "junit" ` --result_path "C:\TestResults" --author ExampleAuthor# Linux/macOSuipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./test-results" --author ExampleAuthorCreate and execute a transient test set from a project:
Transient test sets are temporary test sets created on-the-fly from your project path.
uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ -P "./MyTestProject/project.json" \ -e "TestEnvironment" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "uipath" \ --result_path "./test-results"uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ -P "./MyTestProject/project.json" \ -e "TestEnvironment" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "uipath" \ --result_path "./test-results"Execute tests with parameter overrides:
uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ -i "./test-parameters.json" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./test-results"uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ -i "./test-parameters.json" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./test-results"Execute tests with robot logs attachment:
uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ --attachRobotLogs true \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./test-results"uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ --attachRobotLogs true \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./test-results"Report types
Test Manager supports two output formats:
| Format | Description | Cas d'utilisation |
|---|---|---|
junit | JUnit XML format | CI/CD integration (Jenkins, Azure DevOps, GitHub Actions) |
uipath | UiPath native format | Detailed execution reports with Test Manager-specific data |
Migration from Orchestrator testing
Before (Orchestrator testing):
uipcli test run "https://cloud.uipath.com/" "TenantName" \ -s "MyTestSet" \ -u "username" \ -p "password" \ -o "FolderName" \ -P "./project.json"uipcli test run "https://cloud.uipath.com/" "TenantName" \ -s "MyTestSet" \ -u "username" \ -p "password" \ -o "FolderName" \ -P "./project.json"After (Test Manager):
uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./results"uipcli test run "https://cloud.uipath.com/" "TenantName" \ --projectKey "MyTestProject" \ --testsetkey "MyTestSet" \ -A "organizationName" \ -I "becc663c-8f1e-409a-a75f-c00330d80bc8" \ -S "********" \ --applicationScope "OR.Folders OR.Execution TM.Projects TM.TestSets TM.TestExecutions" \ -o "FolderName" \ --out "junit" \ --result_path "./results"Key differences:
- Add
--projectKeyparameter to enable Test Manager - Use
--testsetkeyinstead of-sfor test set identification - Test Manager requires OAuth authentication (application credentials)
- Specify output format with
--outand destination with--result_path
Meilleures pratiques
Test Manager setup:
- Create dedicated Test Manager projects for different applications or teams
- Use meaningful project keys and test set keys for easy identification
- Organize test sets by purpose (regression, smoke, integration, etc.)
Parameter management:
- Use parameter files (
-i) for environment-specific configurations - Store sensitive parameters in CI/CD secrets, not in parameter files
- Document required parameters in your test set descriptions
Retry logic:
- Use
--retryCountfor flaky tests that may fail intermittently - Set appropriate
--timeoutvalues based on test duration - Monitor retry patterns to identify and fix unstable tests
Reporting:
- Use
junitformat for CI/CD pipeline integration - Use
uipathformat for detailed analysis in Test Manager - Enable
--attachRobotLogsfor debugging test failures
CI/CD integration:
- Configure Test Manager authentication using secure environment variables
- Set up automated test execution on code commits or pull requests
- Archive test reports as build artifacts for historical tracking