uipath-cli
latest
false
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- 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
Last updated May 7, 2026
uip rpa add-test-data-queue wires an Orchestrator Test Data Queue into a test case as its data source. Studio adds an IDictionary<string, object> argument to the test case, named after the queue — at execution time, each iteration of the test pulls one item from the queue and feeds its key/value pairs into the argument.
Studio drives the operation, so a Windows runner is required. The queue must already exist in Orchestrator; resolve its name, ID, and folder path first (the uip or Orchestrator commands list queues in your tenant).
Synopsis
uip rpa add-test-data-queue --test-case-path <string> --queue-name <string> --folder-path <string> --queue-id <number>
uip rpa add-test-data-queue --test-case-path <string> --queue-name <string> --folder-path <string> --queue-id <number>
Options
| Flag | Description |
|---|---|
--test-case-path <string> | Relative path to the test case file (.xaml or .cs) within the project directory. |
--queue-name <string> | Name of the Test Data Queue in Orchestrator. |
--folder-path <string> | Orchestrator folder path where the queue resides. |
--queue-id <number> | Orchestrator ID of the Test Data Queue. |
For the complete option list on your installed tool version, run:
uip rpa add-test-data-queue --help
uip rpa add-test-data-queue --help
Examples
# Bind a queue from the Shared folder to a XAML test case
uip rpa add-test-data-queue \
--test-case-path Tests/InvoiceFlow.xaml \
--queue-name InvoicesToProcess \
--folder-path Shared \
--queue-id 4271
# Bind a queue from a sub-folder to a coded test case
uip rpa add-test-data-queue \
--test-case-path Tests/CustomerOnboarding.cs \
--queue-name OnboardingFixtures \
--folder-path "Finance/QA" \
--queue-id 5106
# Bind a queue from the Shared folder to a XAML test case
uip rpa add-test-data-queue \
--test-case-path Tests/InvoiceFlow.xaml \
--queue-name InvoicesToProcess \
--folder-path Shared \
--queue-id 4271
# Bind a queue from a sub-folder to a coded test case
uip rpa add-test-data-queue \
--test-case-path Tests/CustomerOnboarding.cs \
--queue-name OnboardingFixtures \
--folder-path "Finance/QA" \
--queue-id 5106
Related
uip rpa add-test-data-entity— bind a Data Service entity instead of a queue.uip rpa add-test-data-variation— bind a CSV or Excel variation file.uip rpa create-project— scaffold the test project before adding data sources.uip tm testcase— manage the matching test case in Test Manager.