- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip maestro authoring
- uip maestro registry
- uip model-hub
- activities find
- activities get-default-xaml
- analyze
- analyzer-rules list
- build
- cleanup
- data-fabric-entities install
- data-fabric-entities list
- files diff
- get-library-object-repository
- get-object-repository
- init
- instances list
- pack
- packages inspect
- packages install
- packages versions
- publish
- remote
- restore
- run, debug & execution
- settings
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- tm
- uia
- validate
- workflow-examples get
- workflow-examples list
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip tm result
Download execution artifacts in CI-friendly formats using `uip tm result`, including JUnit XML for test dashboards.
uip tm result downloads execution artifacts in a structured, CI-friendly format. It exposes 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> | --project-id <id> | --test-set-key <key>) [--result-path <path>]
uip tm result download --execution-id <uuid> (--project-key <key> | --project-id <id> | --test-set-key <key>) [--result-path <path>]
All verbs honor the global options and the standard exit codes.
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.
Arguments
None.
Options
-
--execution-id <uuid>(required) — execution to download. -
--project-key <key>— owning project key. -
--project-id <id>— owning project ID. Use instead of--project-key.Pass
--project-id,--project-key, or--test-set-key. When you pass more than one,--project-idis used first, then--project-key, then the project prefix of--test-set-key. -
--test-set-key <key>— test set key (for example,DEMO:42); the project key is derived from the prefix. -
--result-path <path>— output location. Can be a file path (./junit.xml) or a directory (the file is named after the test set). Defaults to the current working directory.
Example
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 reports success plus summary counts.
Using the output in CI
Publish the file written to --result-path using your CI test reporter. 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
- uses: dorny/test-reporter@v1
with:
name: Test Manager
path: junit.xml
reporter: java-junit
# GitHub Actions
- uses: dorny/test-reporter@v1
with:
name: Test Manager
path: junit.xml
reporter: java-junit
Related
- testsets run — produces the
ExecutionIdconsumed here. - wait — block until the execution is terminal before downloading results.
- report — a human-readable summary if you do not need JUnit XML.
- report export — a report file (Excel, PDF, or JUnit) that Test Manager builds instead of the CLI.
- attachment — download screenshots, logs, and files produced by test case logs.