UiPath Documentation
uipath-cli
latest
false
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UiPath CLI ユーザー ガイド

uip rpa add-test-data-queue

uip rpa add-test-data-queue Orchestrator のテスト データのキューを、そのデータ ソースとしてテスト ケースに結び付けます。Studio によって、キューにちなんだ名前の IDictionary<string, object> 引数がテスト ケースに追加されます。実行時に、テストを繰り返すたびにキューから 1 つのアイテムがプルされ、キーと値のペアが引数にフィードされます。

操作は Studio によって駆動されるため、Windows ランナーが必要です。キューが Orchestrator にすでに存在している必要があります。最初に名前、ID、フォルダー パスを解決します ( uip or Orchestrator コマンドを実行すると、テナント内のキューが一覧表示されます)。

概要

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>

オプション

フラグ説明
--test-case-path <string>プロジェクト ディレクトリ内のテスト ケース ファイル (.xaml または .cs) への相対パスです。
--queue-name <string>Orchestrator のテスト データのキューの名前です。
--folder-path <string>キューが存在する Orchestrator フォルダー パスです。
--queue-id <number>テスト データのキューの Orchestrator ID です。

インストールされているツールのバージョンの完全なオプションリストについては、以下を実行します。

uip rpa add-test-data-queue --help
uip rpa add-test-data-queue --help
# 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

参照

  • 概要
  • オプション
  • 関連
  • 参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得