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

UIP RPA TM

「uip rpa tm」の構文とオプション - ローカルの .tmh/config.json を書き込むことによって、RPA プロジェクトの Test Manager サーバー接続と既定のプロジェクトを設定します。

uip rpa tm は、RPA プロジェクトを Test Manager サーバーに接続し、既定のプロジェクトをリンクします。これは、プロジェクト ディレクトリ内の .tmh/config.json に対してローカル ファイル I/O を介してのみ行われます。ここでは、どの動詞にも Studio や Helm インスタンスは必要ありません。

概要​

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 接続​

Test Manager サーバーの URL を設定します。別のサーバーに切り替えると、以前にリンクされていた既定のプロジェクトは古いサーバーに属していたため、クリアされます。

オプション​

長押し値 (Value)Required説明
--url <url>絶対 http(s) URL○Test Manager サーバーのベース URL (例:https://cloud.uipath.com/<org>/<tenant>/testmanager_です。http/https スキームを使用して絶対 URL として解析する必要がある — 他のスキーム (mailto:、 file:など) または解析できない値は、クライアント側では失敗します。
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 は、サーバーを切り替えたときに、以前にリンクされていた既定のプロジェクトを削除した場合に追加されます。reloadHint は、Studio で変更を取得するために再読み込みが必要な場合に追加されます。

uip rpa tm set-default-project​

Test Manager プロジェクトをこの RPA プロジェクトの既定としてリンクします。最初に接続済みサーバー (tm connect) が必要です。サーバーなしで既定のプロジェクトを設定すると却下されます。

オプション​

長押し値 (Value)Required説明
--id <id>文字列 (GUID)○Test Manager プロジェクト ID
--name <name>string×プロジェクトの表示名。ID と一緒に保存されます。
--key <key>string×プロジェクトのショート コード (例:PROJ)、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​

既定の Test Manager プロジェクトのリンクを解除します。サーバー接続 (tm connect) はそのまま残ります。べき等 — 現在既定のプロジェクトが設定されていない場合でも成功します。

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とmessage: "No default Test Manager project was set."。

UIP RPA、TM のステータス​

プロジェクトの現在の Test Manager 設定 (サーバー URL とリンクされている既定のプロジェクト) を表示します。まだ存在するかどうかに関係なく動作 .tmh/config.json 。

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 フォーラム

最新情報を取得