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

UiPath CLI ユーザー ガイド

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

uip tm testsets

テスト セットを管理するuip tm testsets: Test Manager で実行可能な単位です。テスト セットは、1 つのコマンドで実行し、1 回の実行として追跡できる、順序付けられたテスト ケースのグループです。すべての testsets run 呼び出しは、他の uip tm動詞 (waitexecutionsreportresultattachment) が入力として受け取るExecutionIdを返します。

概要

uip tm testsets create --project-key <key> --name <name> [--description <text>]
uip tm testsets list --project-key <key> [--folder-key <uuid>] [--filter <text>]
uip tm testsets update --test-set-key <key> [--name <name>] [--description <text>]
uip tm testsets delete --test-set-key <key>
uip tm testsets list-testcases --test-set-key <key>
uip tm testsets run --test-set-key <key> [--execution-type <type>] [--input-path <file>]
uip tm testsets create --project-key <key> --name <name> [--description <text>]
uip tm testsets list --project-key <key> [--folder-key <uuid>] [--filter <text>]
uip tm testsets update --test-set-key <key> [--name <name>] [--description <text>]
uip tm testsets delete --test-set-key <key>
uip tm testsets list-testcases --test-set-key <key>
uip tm testsets run --test-set-key <key> [--execution-type <type>] [--input-path <file>]

すべての動詞は、 グローバルオプション と標準 終了コードを尊重します。すべての動詞は -t, --tenant <name>--log-level <level> を受け入れます(デフォルト Information)。

--test-set-keyキーのプレフィックス (例:DEMO:10 → プロジェクト DEMO) であるため、 --project-keycreatelistでのみ必要です。

uip tm testsets create

Create an empty test set in a project. Use testcases add afterwards to populate it.

引数:なし。

オプション:

  • --project-key <key> (必須) — プロジェクトを所有しています。
  • --name <name> (必須) — テスト セット名。
  • --description <text> — 自由形式の説明。既定値は空です。

:

uip tm testsets create \
  --project-key DEMO \
  --name "Smoke Suite" \
  --description "Core smoke tests"
uip tm testsets create \
  --project-key DEMO \
  --name "Smoke Suite" \
  --description "Core smoke tests"

データシェイプ:

{
  "Code": "TestSetCreate",
  "Data": {
    "TestSetKey": "DEMO:10",
    "Name": "Smoke Suite",
    "Description": "Core smoke tests"
  }
}
{
  "Code": "TestSetCreate",
  "Data": {
    "TestSetKey": "DEMO:10",
    "Name": "Smoke Suite",
    "Description": "Core smoke tests"
  }
}

uip tm testsets list

プロジェクト内のテスト セットのリストを取得します。CLI は結果を自動的にページングします。

引数:なし。

オプション:

  • --project-key <key> (必須) — リストするプロジェクト。
  • --folder-key <uuid> — この Orchestrator フォルダーにバインドされているテスト セットのみに制限します。フェッチ後にクライアント側に適用されます。
  • --filter <text> — サーバーサイドで名前を検索します。

:

uip tm testsets list --project-key DEMO --filter smoke
uip tm testsets list --project-key DEMO --filter smoke

データシェイプ:

{
  "Code": "TestSetsList",
  "Data": [
    {
      "TestSetKey": "DEMO:10",
      "Name": "Smoke Suite",
      "FolderKey": "f0f0f0f0-0000-0000-0000-000000000001",
      "Id": "a1b2c3d4-0000-0000-0000-000000000010"
    }
  ]
}
{
  "Code": "TestSetsList",
  "Data": [
    {
      "TestSetKey": "DEMO:10",
      "Name": "Smoke Suite",
      "FolderKey": "f0f0f0f0-0000-0000-0000-000000000001",
      "Id": "a1b2c3d4-0000-0000-0000-000000000010"
    }
  ]
}

Id 内部 UUID です — たとえば、 execution list --test-set-idで必要です。

uip tm testsets update

テスト セットの名前を変更するか、テスト セットの説明を変更します。--nameまたは--descriptionのうち少なくとも1つを指定する必要があります。

引数:なし。

オプション:

  • --test-set-key <key> (必須) — テスト セット キー (例:DEMO:10)。
  • --name <name> — 新しい名前。
  • --description <text> — 新しい説明。

:

uip tm testsets update \
  --test-set-key DEMO:10 \
  --name "Smoke Suite (2026)"
uip tm testsets update \
  --test-set-key DEMO:10 \
  --name "Smoke Suite (2026)"

データシェイプ:

{
  "Code": "TestSetUpdate",
  "Data": {
    "TestSetKey": "DEMO:10",
    "Name": "Smoke Suite (2026)",
    "Description": "Core smoke tests",
    "Result": "Updated"
  }
}
{
  "Code": "TestSetUpdate",
  "Data": {
    "TestSetKey": "DEMO:10",
    "Name": "Smoke Suite (2026)",
    "Description": "Core smoke tests",
    "Result": "Updated"
  }
}

uip tm testsets delete

テスト セットをキーで削除する

引数:なし。

オプション:

  • --test-set-key <key> (必須) — テストセットキー。

:

uip tm testsets delete --test-set-key DEMO:10
uip tm testsets delete --test-set-key DEMO:10

データシェイプ:

{
  "Code": "TestSetDelete",
  "Data": {
    "TestSetKey": "DEMO:10",
    "Id": "a1b2c3d4-0000-0000-0000-000000000010",
    "Result": "Deleted"
  }
}
{
  "Code": "TestSetDelete",
  "Data": {
    "TestSetKey": "DEMO:10",
    "Id": "a1b2c3d4-0000-0000-0000-000000000010",
    "Result": "Deleted"
  }
}

uip tm testsets list-testcases

テスト セットに割り当てられているテスト ケースのリストを表示します。

引数:なし。

オプション:

  • --test-set-key <key> (必須) — 検査するテスト セット。

:

uip tm testsets list-testcases --test-set-key DEMO:10
uip tm testsets list-testcases --test-set-key DEMO:10

データシェイプ:

{
  "Code": "TestSetTestCasesList",
  "Data": [
    {
      "TestCaseKey": "DEMO:1",
      "Name": "Login smoke",
      "Version": "1.0.0",
      "Description": "Logs in and out"
    }
  ]
}
{
  "Code": "TestSetTestCasesList",
  "Data": [
    {
      "TestCaseKey": "DEMO:1",
      "Name": "Login smoke",
      "Version": "1.0.0",
      "Description": "Logs in and out"
    }
  ]
}

uip tm testsets run

Run a test set and return its ExecutionId immediately. The test set itself must already be configured with a package and folder — either by authoring inside Test Manager's web UI, or by hand via the REST API. Run does not block; pair it with uip tm wait in scripts.

引数:なし。

オプション:

  • --test-set-key <key> (必須) — 実行するテスト セット。プロジェクト キーはプレフィックスから派生します。
  • --execution-type <type> — 実行するテスト ケース。以下のいずれかを使用します。
    • automated (既定) — 自動化されたテスト ケースのみ。
    • manual — 手動テスト用のテスト ケースのみ
    • mixed — 自動と手動の両方。
    • none — 型フィルターなし。
  • --input-path <file> — パラメーターをオーバーライドした JSON ファイルへのパスです。ファイルには、 [{"name":"Param","type":"String","value":"v"}]のような形式の配列が含まれている必要があります。オーバーライドは、 name (存在する場合は type) によってテスト セットの現在のパラメーター定義と照合されます。大文字と小文字は区別されません。サーバーがパラメーター定義を報告しない場合、入力はそのまま送信されます。

:

# simplest
uip tm testsets run --test-set-key DEMO:10

# with parameter overrides and manual execution
uip tm testsets run \
  --test-set-key DEMO:10 \
  --execution-type mixed \
  --input-path ./params.json
# simplest
uip tm testsets run --test-set-key DEMO:10

# with parameter overrides and manual execution
uip tm testsets run \
  --test-set-key DEMO:10 \
  --execution-type mixed \
  --input-path ./params.json

データシェイプ:

{
  "Code": "TestSetRun",
  "Data": {
    "ExecutionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "TestSetKey": "DEMO:10",
    "Status": "Running",
    "StartTime": "2025-04-15T10:30:00Z"
  }
}
{
  "Code": "TestSetRun",
  "Data": {
    "ExecutionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "TestSetKey": "DEMO:10",
    "Status": "Running",
    "StartTime": "2025-04-15T10:30:00Z"
  }
}
注:

The returned Status reflects the state at launch (typically Running); it does not mean the run has succeeded. To get the run outcome, block on uip tm wait and then read uip tm report get. Exit-code behavior for the combined launch-and-wait flow is documented on uip tm executions. See the Related section below for the wait and report references.

  • testcases — create and link the test cases that populate a test set.
  • executions — list and retry executions once a test set has been run.
  • 待機 — 返された ExecutionId が終了状態に達するまでブロックします。
  • ReportResultAttachment — 実行後の成果物。

参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得