- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- add-test-data-entity
- テスト データのキューを追加
- 追加-テスト-データ-バリエーション
- 分析
- 開発
- プロジェクトを作成
- 差分
- アクティビティを検索
- GET-ANALYZER-RULES
- get-default-activity-xaml
- エラーを取得
- 手動テスト用のテスト ケースを取得
- 手動テストステップを取得
- get-library-object-repository
- get-object-repository
- get-versions
- Get-workflow-example
- indicate-application
- 要素を示す
- inspect-package
- install-data-fabric-entities
- パッケージのインストールまたは更新
- list-data-fabric-entities
- list-instances
- list-workflow-examples
- パッケージ化
- パブリッシュ
- remote
- 元に戻す
- run, debug & execution
- ファイル名を実行
- 検索テンプレート
- スタートスタジオ
- 実行を停止
- tm
- UIA
- uip tasks
- uip traces
- uip traces feedback
- 移行
- 参照とサポート
「uip tm testsets」の構文とオプション - Test Manager で追跡対象の実行を生成する実行可能なテスト セット ユニットを管理します。
テスト セットを管理するuip tm testsets: Test Manager で実行可能な単位です。テスト セットは、1 つのコマンドとして起動され、1 つの実行として追跡される、順序付けられたテスト ケースのグループです。すべての testsets run 呼び出しは、他の uip tm動詞 (wait、executions、report、result、attachment) が入力として受け取るExecutionIdを返します。
概要
uip tm testsets create --project-key <key> --name <name> [--description <text>]
uip tm testsets list --project-key <key> [--filter <text>]
uip tm testsets update --project-key <key> --test-set-key <key> [--name <name>] [--description <text>]
uip tm testsets delete --project-key <key> --test-set-key <key> [-y]
uip tm testsets list-testcases --project-key <key> --test-set-key <key> [--limit <n>] [--offset <n>]
uip tm testsets run --test-set-key <key> [--execution-type <type>] [--input-path <file>] [--playwright-projects <names...>] [--wait [--timeout <seconds>] [--poll-interval <seconds>]]
uip tm testsets playwright-context --test-set-key <key>
uip tm testsets create --project-key <key> --name <name> [--description <text>]
uip tm testsets list --project-key <key> [--filter <text>]
uip tm testsets update --project-key <key> --test-set-key <key> [--name <name>] [--description <text>]
uip tm testsets delete --project-key <key> --test-set-key <key> [-y]
uip tm testsets list-testcases --project-key <key> --test-set-key <key> [--limit <n>] [--offset <n>]
uip tm testsets run --test-set-key <key> [--execution-type <type>] [--input-path <file>] [--playwright-projects <names...>] [--wait [--timeout <seconds>] [--poll-interval <seconds>]]
uip tm testsets playwright-context --test-set-key <key>
すべての動詞は、 グローバル オプション と標準の 終了コードを尊重します。すべての動詞は --log-level <level> を受け入れます (既定は Information)。
uip tm testsets create
プロジェクトに空のテスト セットを作成します。
引数
設定はありません。
オプション
| フラグ | 説明 |
|---|---|
--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
プロジェクト内のテスト セットのリストを取得します。
引数
設定はありません。
オプション
| フラグ | 説明 |
|---|---|
--project-key <key> | 必須。リストするプロジェクト。 |
--folder-key <uuid> | Filter by Orchestrator folder key (from uip or folders list). |
--filter <text> | サーバー側で名前を検索する。 |
--include-last-execution | Add the latest execution's status and timestamp to each test set (see LastExecutionStatus/LastExecutionAt below). Costs one extra lookup per test set. |
例
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 is the internal UUID — needed by executions list --test-set-id. With --include-last-execution, each entry also gets LastExecutionStatus and LastExecutionAt (both empty strings if the test set has never run).
uip tm testsets update
テスト セットの名前を変更するか、テスト セットの説明を変更します。--nameまたは--descriptionのうち少なくとも1つを指定する必要があります。
引数
設定はありません。
オプション
| フラグ | 説明 |
|---|---|
--project-key <key> | 必須。所有するプロジェクト。 |
--test-set-key <key> | 必須。テスト セットのキー (例: DEMO:10)。 |
--name <name> | 新しい名前。 |
--description <text> | 新しい説明。 |
例
uip tm testsets update \
--project-key DEMO \
--test-set-key DEMO:10 \
--name "Smoke Suite (2026)"
uip tm testsets update \
--project-key DEMO \
--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
テスト セットをキーで削除する
引数
設定はありません。
オプション
| フラグ | 説明 |
|---|---|
--project-key <key> | 必須。所有するプロジェクト。 |
--test-set-key <key> | 必須。テスト セットのキー (例: DEMO:10)。 |
-y, --yes | 確認プロンプトをスキップします。非対話型環境では必要です。 |
例
uip tm testsets delete --project-key DEMO --test-set-key DEMO:10 --yes
uip tm testsets delete --project-key DEMO --test-set-key DEMO:10 --yes
データシェイプ
{
"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
テスト セットに割り当てられているテスト ケースのリストを表示します。
引数
設定はありません。
オプション
| フラグ | 説明 |
|---|---|
--project-key <key> | 必須。所有するプロジェクト。 |
--test-set-key <key> | 必須。検査するテスト セット。 |
--limit <n> | ページあたりの結果の最大数。既定値は 50です。 |
--offset <n> | スキップする結果の数です。既定値は 0です。 |
例
uip tm testsets list-testcases --project-key DEMO --test-set-key DEMO:10
uip tm testsets list-testcases --project-key DEMO --test-set-key DEMO:10
データシェイプ
{
"Code": "TestSetTestCasesList",
"Data": [
{
"TestCaseKey": "DEMO:1",
"Name": "Login smoke",
"Description": "Logs in and out"
}
]
}
{
"Code": "TestSetTestCasesList",
"Data": [
{
"TestCaseKey": "DEMO:1",
"Name": "Login smoke",
"Description": "Logs in and out"
}
]
}
uip tm testsets run
テスト セットを実行し、その ExecutionIdを返します。既定では、実行がキューに入るとすぐに、コマンドは戻ります。実行が終了ステートに達するまでブロックに --wait 渡します — これにより、起動ステップと待機ステップが 1 つのコマンドに結合されます。
引数
設定はありません。
オプション
| フラグ | 説明 |
|---|---|
--test-set-key <key> | 必須。テスト セットのオブジェクト キー (例: DEMO:42)。プロジェクト キーは、プレフィックス から派生しています。 |
--execution-type <type> | 実行するテスト ケースの種類: automated (既定)、[manual]、[mixed] (自動と手動の両方)、または [none] (種類フィルターなし)。 |
--input-path <file> | 実行のパラメーターの上書きを含む JSON ファイルへのパスです。形式: [{"name":"Param","type":"String","value":"v"}]。 |
--playwright-projects <names...> | Scope the run to one or more Playwright projects packaged by uip tm pack (space-separated, for example, regression smoke). The selection persists on the test set, so later runs of the same test set don't need to repeat it. |
--wait | 実行が最終ステート (finished、 cancelled) に達するまでブロックします。省略すると、キューの直後にコマンドが返されます。 |
--timeout <seconds> | 実行が完了するまで待機する最大秒数です (タイムアウトしない場合は0 )。--waitが必要です。 |
--poll-interval <seconds> | 待機中のステータス チェック間の間隔 (秒)。--waitが必要です。 |
--playwright-projects is a hidden option (omitted from --help) — it exists and works, but the flag surface may change before the underlying Test Manager Playwright execution capability is generally announced. It only applies to a test set whose test cases all come from a single Playwright package; on any other test set the run proceeds using the package's playwright.config defaults and the flag is effectively ignored.
例
# Fire-and-forget — returns ExecutionId immediately
uip tm testsets run --test-set-key DEMO:10
# Block until done — no need for a separate uip tm wait call
uip tm testsets run \
--test-set-key DEMO:10 \
--wait
# Block with a timeout and custom poll interval
uip tm testsets run \
--test-set-key DEMO:10 \
--execution-type automated \
--wait \
--timeout 900 \
--poll-interval 15
# Pass parameter overrides from a file
uip tm testsets run \
--test-set-key DEMO:10 \
--input-path ./params.json \
--wait
# Scope a run to specific Playwright projects (hidden option, see note above)
uip tm testsets run \
--test-set-key DEMO:10 \
--playwright-projects regression smoke
# Fire-and-forget — returns ExecutionId immediately
uip tm testsets run --test-set-key DEMO:10
# Block until done — no need for a separate uip tm wait call
uip tm testsets run \
--test-set-key DEMO:10 \
--wait
# Block with a timeout and custom poll interval
uip tm testsets run \
--test-set-key DEMO:10 \
--execution-type automated \
--wait \
--timeout 900 \
--poll-interval 15
# Pass parameter overrides from a file
uip tm testsets run \
--test-set-key DEMO:10 \
--input-path ./params.json \
--wait
# Scope a run to specific Playwright projects (hidden option, see note above)
uip tm testsets run \
--test-set-key DEMO:10 \
--playwright-projects regression smoke
データシェイプ
{
"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"
}
}
--waitを使用すると、Status は Runningではなく最終ステート (Finished、 Cancelled) を反映します。返される ExecutionId はどちらの場合も同じで、 uip tm report get、 uip tm result download、 uip tm attachment downloadに渡すことができます。
uip tm testsets playwright-context
Probe a test set's Playwright resolution: whether every test case in it comes from a single Playwright package, and which Playwright project names are available and currently selected. Hidden from --help (same maturity gate as run's --playwright-projects), but real and functional — use it to discover the valid --playwright-projects names before calling run, exactly as run's own option text points back here.
引数
設定はありません。
オプション
| フラグ | 説明 |
|---|---|
--test-set-key <key> | Required. Test set object key (e.g. DEMO:42). |
--log-level <level> | Default Information. |
例
uip tm testsets playwright-context --test-set-key DEMO:42
uip tm testsets playwright-context --test-set-key DEMO:42
データシェイプ
{
"Code": "TestSetPlaywrightContext",
"Data": {
"TestSetKey": "DEMO:42",
"IsPlaywright": true,
"PackageIdentifier": "my-playwright-suite",
"Version": "1.2.0",
"AvailablePlaywrightProjects": "chromium, firefox, webkit",
"SelectedPlaywrightProjects": "chromium"
}
}
{
"Code": "TestSetPlaywrightContext",
"Data": {
"TestSetKey": "DEMO:42",
"IsPlaywright": true,
"PackageIdentifier": "my-playwright-suite",
"Version": "1.2.0",
"AvailablePlaywrightProjects": "chromium, firefox, webkit",
"SelectedPlaywrightProjects": "chromium"
}
}
When the test set isn't a single-package Playwright set (RPA, mixed, manual, or no single package), IsPlaywright is false and the response instead carries one Details field: "Not a Playwright test set (RPA, mixed, manual, or no single package). Run it without --playwright-projects." — the four Playwright-specific fields above are omitted in that case. AvailablePlaywrightProjects/SelectedPlaywrightProjects are comma-joined strings, not arrays.
関連
- pack — Playwright プロジェクトをパッケージ化し、上記で使用した
--playwright-projectsスコープ名を生成します。 - テスト ケース — テスト セットを設定するテスト ケースを作成してリンクします。
- 実行 — テスト セットの実行後に実行のリストを表示してリトライします。
- 待機 — 返された
ExecutionIdが終了状態に達するまでブロックします。 - Report、 Result、 Attachment — 実行後の成果物。
参照
- 概要
- uip tm testsets create
- 引数
- オプション
- 例
- データシェイプ
- uip tm testsets list
- 引数
- オプション
- 例
- データシェイプ
- uip tm testsets update
- 引数
- オプション
- 例
- データシェイプ
- uip tm testsets delete
- 引数
- オプション
- 例
- データシェイプ
- uip tm testsets list-testcases
- 引数
- オプション
- 例
- データシェイプ
- uip tm testsets run
- 引数
- オプション
- 例
- データシェイプ
- uip tm testsets playwright-context
- 引数
- オプション
- 例
- データシェイプ
- 関連
- 参照