uipath-cli
latest
false
UiPath CLI user guide
- 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 rpa test-data add-variation
Syntax and options for `uip rpa test-data add-variation`, which attaches a CSV or Excel data variation file to a test case.
uip rpa test-data add-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 test-data add-variation --test-case-path <string> --data-variation-path <string>
uip rpa test-data add-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 test-data add-variation --help
uip rpa test-data add-variation --help
Examples
# Attach a CSV variation to a XAML test case
uip rpa test-data add-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 test-data add-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 test-data add-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 test-data add-variation \
--test-case-path Tests/InvoiceFlow.cs \
--data-variation-path Tests/Data/invoice-fixtures.xlsx
Related
uip rpa test-data add-entity— bind a Data Service entity instead of a file.uip rpa test-data add-queue— bind an Orchestrator Test Data Queue instead of a file.uip rpa init— scaffold the test project before adding data sources.uip tm testcases— manage the matching test case in Test Manager.