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

uip rpa tm

Syntax and options for `uip rpa tm`, which configures a Test Manager server connection and default project for an RPA project by writing its local .tmh/config.json.

uip rpa tm connects an RPA project to a Test Manager server and links a default project, entirely through local file I/O against .tmh/config.json in the project directory — no Studio or Helm instance is required for any verb here.

概要

uip rpa tm connect --url <url>
uip rpa tm set-default-project --id <id> [--name <name>] [--key <key>]
uip rpa tm clear-default-project
uip rpa tm status
uip rpa tm connect --url <url>
uip rpa tm set-default-project --id <id> [--name <name>] [--key <key>]
uip rpa tm clear-default-project
uip rpa tm status

uip rpa tm connect

Set the Test Manager server URL. Switching to a different server clears the previously-linked default project, since it belonged to the old server.

オプション

長押し値 (Value)Required説明
--url <url>absolute http(s) URLTest Manager server base URL, e.g. https://cloud.uipath.com/<org>/<tenant>/testmanager_. Must parse as an absolute URL with an http/https scheme — any other scheme (mailto:, file:, etc.) or an unparseable value fails client-side.

uip rpa tm connect --url https://cloud.uipath.com/myorg/mytenant/testmanager_
uip rpa tm connect --url https://cloud.uipath.com/myorg/mytenant/testmanager_

データシェイプ(--output json)

{
  "message": "Test Manager server set to https://cloud.uipath.com/myorg/mytenant/testmanager_",
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "testManagerBasePath": "https://cloud.uipath.com/myorg/mytenant/testmanager_"
}
{
  "message": "Test Manager server set to https://cloud.uipath.com/myorg/mytenant/testmanager_",
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "testManagerBasePath": "https://cloud.uipath.com/myorg/mytenant/testmanager_"
}

clearedDefaultProject: true is added when switching servers dropped a previously-linked default project. reloadHint is added when Studio needs a reload to pick up the change.

uip rpa tm set-default-project

Link a Test Manager project as this RPA project's default. Requires a connected server (tm connect) first — setting a default project without one is rejected.

オプション

長押し値 (Value)Required説明
--id <id>string (GUID)Test Manager project id.
--name <name>string×Project display name, stored alongside the id.
--key <key>string×Project short code (e.g. PROJ), stored alongside the id.

uip rpa tm set-default-project --id a1b2c3d4-0000-0000-0000-000000000001 --name "Invoice Automation" --key INV
uip rpa tm set-default-project --id a1b2c3d4-0000-0000-0000-000000000001 --name "Invoice Automation" --key INV

データシェイプ(--output json)

{
  "message": "Default Test Manager project set to Invoice Automation",
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "defaultProject": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Invoice Automation", "key": "INV" }
}
{
  "message": "Default Test Manager project set to Invoice Automation",
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "defaultProject": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Invoice Automation", "key": "INV" }
}

uip rpa tm clear-default-project

Unlink the default Test Manager project. The server connection (tm connect) is left intact. Idempotent — succeeds even when no default project is currently set.

uip rpa tm clear-default-project
uip rpa tm clear-default-project

データシェイプ(--output json)

{
  "message": "Default Test Manager project unlinked.",
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "cleared": true
}
{
  "message": "Default Test Manager project unlinked.",
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "cleared": true
}

cleared: false and message: "No default Test Manager project was set." when there was nothing to clear.

uip rpa tm status

Show the project's current Test Manager configuration — server URL and linked default project. Works whether or not .tmh/config.json exists yet.

uip rpa tm status
uip rpa tm status

データシェイプ(--output json)

{
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "connected": true,
  "hasDefaultProject": true,
  "testManagerBasePath": "https://cloud.uipath.com/myorg/mytenant/testmanager_",
  "defaultProject": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Invoice Automation", "key": "INV" }
}
{
  "projectDir": "/work/MyProject",
  "configPath": "/work/MyProject/.tmh/config.json",
  "connected": true,
  "hasDefaultProject": true,
  "testManagerBasePath": "https://cloud.uipath.com/myorg/mytenant/testmanager_",
  "defaultProject": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Invoice Automation", "key": "INV" }
}

参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得