UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Last updated May 7, 2026

uip rpa add-test-data-queue

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

FlagDescription
--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

See also

  • Synopsis
  • Options
  • Examples
  • Related
  • See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated