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

UiPath CLI ユーザー ガイド

uip rpa add-test-data-entity

uip rpa add-test-data-entity UiPath Data Service のエンティティをデータ ソースとしてテスト ケースに結び付けます。Studio では、エンティティにちなんだ名前の付いたエンティティ型の引数がテスト ケース ファイルに追加され、各テスト呼び出しが厳密に型指定されたエンティティ レコードを受け取ります。

動詞は Studio によって駆動されるため、Windows ランナーが必要です。Automation Cloud の Data Service が有効なテナントも必要です。この動詞を呼び出す前に、そこでエンティティ名と完全な型名を確認します。

概要

uip rpa add-test-data-entity --test-case-path <string> --entity-name <string> --entity-type-name <string>
uip rpa add-test-data-entity --test-case-path <string> --entity-name <string> --entity-type-name <string>

オプション

フラグ説明
--test-case-path <string>プロジェクト ディレクトリ内のテスト ケース ファイル (.xaml または .cs) への相対パスです。
--entity-name <string>Data Service のエンティティの名前です。
--entity-type-name <string>エンティティの完全型名 (例:MyEntity または名前空間で修飾された型)。

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

uip rpa add-test-data-entity --help
uip rpa add-test-data-entity --help
# Bind the Customer entity as a data source to a XAML test case
uip rpa add-test-data-entity \
  --test-case-path Tests/CustomerOnboarding.xaml \
  --entity-name Customer \
  --entity-type-name Customer

# Bind a namespace-qualified entity to a coded test case
uip rpa add-test-data-entity \
  --test-case-path Tests/InvoiceFlow.cs \
  --entity-name Invoice \
  --entity-type-name MyOrg.Finance.Invoice
# Bind the Customer entity as a data source to a XAML test case
uip rpa add-test-data-entity \
  --test-case-path Tests/CustomerOnboarding.xaml \
  --entity-name Customer \
  --entity-type-name Customer

# Bind a namespace-qualified entity to a coded test case
uip rpa add-test-data-entity \
  --test-case-path Tests/InvoiceFlow.cs \
  --entity-name Invoice \
  --entity-type-name MyOrg.Finance.Invoice
  • uip rpa add-test-data-queue — Data Service エンティティではなく Orchestrator のテスト データのキューをバインドします。
  • uip rpa add-test-data-variation — CSV または Excel のバリエーションファイルをバインドします。
  • uip rpa create-project — データ ソースを追加する前に、テスト プロジェクトをスキャフォールディングします。
  • uip tm testcases — 一致するテスト ケースを Test Manager で管理します。

参照

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

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得