UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

最終更新日時 2026年5月7日

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>

オプション

フラグ説明
--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
# 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

参照

  • Synopsis
  • オプション
  • Related
  • 参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得