- Vue d'ensemble (Overview)
- Démarrer
- Concepts
- Using UiPath CLI
- Guides pratiques
- CI/CD recipes
- Référence de commande
- Vue d'ensemble (Overview)
- Codes de sortie
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- créer-projet
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
uip tm result downloads execution artifacts in a structured, CI-friendly format. Today it has one verb, which writes a JUnit XML file — the lingua franca consumed by most CI test dashboards (Azure DevOps, Jenkins, GitLab, CircleCI).
Synopsis
uip tm result download --execution-id <uuid> (--project-key <key> | --test-set-key <key>) [--result-path <path>]
uip tm result download --execution-id <uuid> (--project-key <key> | --test-set-key <key>) [--result-path <path>]
All verbs honor the global options and the standard exit codes. Every verb accepts -t, --tenant <name> and --log-level <level> (default Information).
uip tm result download
Download the results of a single test execution as a JUnit XML report. The command:
- Fetches the execution's stats, test set name, and test set ID.
- Pages through every test case log attached to the execution.
- For each log, fetches the per-assertion artifacts in parallel (assertion lookup failures are logged and skipped, not fatal).
- Fetches the test set's package list (best-effort — missing packages are silently omitted).
- Serializes everything as JUnit XML and writes it to
--result-path.
Link and web-URL fields inside the XML point back to the Test Manager web UI using the organization slug and tenant name of the current session.
Arguments: none.
Options:
--execution-id <uuid>(required) — execution to download.--project-key <key>— owning project. Either this or--test-set-keyis required.--test-set-key <key>— test set key (e.g.DEMO:42); the project key is derived from the prefix.--result-path <path>— output location. Can be a file (./junit.xml) or a directory (the file is named after the test set). Defaults to the current working directory.
Exemple :
uip tm result download \
--execution-id a1b2c3d4-0000-0000-0000-000000000001 \
--project-key DEMO \
--result-path ./junit.xml
uip tm result download \
--execution-id a1b2c3d4-0000-0000-0000-000000000001 \
--project-key DEMO \
--result-path ./junit.xml
Data shape:
{
"Code": "ResultDownload",
"Data": {
"ExecutionId": "a1b2c3d4-0000-0000-0000-000000000001",
"Format": "junit",
"OutputPath": "./junit.xml",
"TotalTests": 10,
"Passed": 8,
"Failed": 2,
"Cancelled": 0
}
}
{
"Code": "ResultDownload",
"Data": {
"ExecutionId": "a1b2c3d4-0000-0000-0000-000000000001",
"Format": "junit",
"OutputPath": "./junit.xml",
"TotalTests": 10,
"Passed": 8,
"Failed": 2,
"Cancelled": 0
}
}
The actual JUnit XML is written to OutputPath. The JSON envelope only reports success plus summary counts.
The output format is fixed to JUnit XML today. Format is included in the envelope so that future versions can add more formats (for example, NUnit or TRX) without a breaking change to the shape.
Using the output in CI
Publish the XML file with whatever test-reporter task your CI provides. Typical patterns:
# Azure DevOps
- task: PublishTestResults@2
inputs:
testResultsFormat: JUnit
testResultsFiles: junit.xml
# Azure DevOps
- task: PublishTestResults@2
inputs:
testResultsFormat: JUnit
testResultsFiles: junit.xml
# GitHub Actions (via a community action)
- uses: dorny/test-reporter@v1
with:
name: Test Manager
path: junit.xml
reporter: java-junit
# GitHub Actions (via a community action)
- uses: dorny/test-reporter@v1
with:
name: Test Manager
path: junit.xml
reporter: java-junit
Related
- testset execute — produces the
ExecutionIdconsumed here. - wait — block until the execution is in a terminal state before downloading results.
- report — a human-readable summary (same data, different shape) if you do not need JUnit XML.
- attachment — download the screenshots, logs, and files produced by test case logs.