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-variation attaches a data variation file (CSV, Excel, and similar tabular formats) to a test case. Studio registers the file as a project data source, reads the column headers as argument names, and adds matching arguments to the test case so each row drives one iteration.
The verb runs through Studio, so it requires a Windows runner. Both the test case and the data file must already exist on disk inside the project directory.
Synopsis
uip rpa add-test-data-variation --test-case-path <string> --data-variation-path <string>
uip rpa add-test-data-variation --test-case-path <string> --data-variation-path <string>
Options
| Flag | Description |
|---|---|
--test-case-path <string> | Relative path to the test case file (.xaml or .cs) within the project directory. |
--data-variation-path <string> | Relative path to the data variation file (CSV, Excel, etc.) within the project directory. |
For the complete option list on your installed tool version, run:
uip rpa add-test-data-variation --help
uip rpa add-test-data-variation --help
Examples
# Attach a CSV variation to a XAML test case
uip rpa add-test-data-variation \
--test-case-path Tests/CustomerOnboarding.xaml \
--data-variation-path Tests/Data/customers.csv
# Attach an Excel variation to a coded test case
uip rpa add-test-data-variation \
--test-case-path Tests/InvoiceFlow.cs \
--data-variation-path Tests/Data/invoice-fixtures.xlsx
# Attach a CSV variation to a XAML test case
uip rpa add-test-data-variation \
--test-case-path Tests/CustomerOnboarding.xaml \
--data-variation-path Tests/Data/customers.csv
# Attach an Excel variation to a coded test case
uip rpa add-test-data-variation \
--test-case-path Tests/InvoiceFlow.cs \
--data-variation-path Tests/Data/invoice-fixtures.xlsx
Related
uip rpa add-test-data-entity— bind a Data Service entity instead of a file.uip rpa add-test-data-queue— bind an Orchestrator Test Data Queue instead of a file.uip rpa create-project— scaffold the test project before adding data sources.uip tm testcase— manage the matching test case in Test Manager.