UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Última actualización 7 de may. de 2026

uip rpa add-test-data-variation

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>

Opciones

MarcaDescripción
--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

Ejemplos

# 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

Ver también

  • Synopsis
  • Opciones
  • Ejemplos
  • Related
  • Ver también

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado