- 基本情報
- Studio
- Orchestrator
- Testing ロボット
- Test Manager
- CI/CD との連携
![](https://docs.uipath.com/_next/static/media/grid.05ebd128.png?w=3840&q=100)
パッケージをテストする/テスト セットを実行する
前提条件:
- パッケージまたはテスト セットを作成する。
- CLI の
exe
ファイル (Windows の場合) またはdll
ファイル (Linux の場合) を実行します。 - 以下の、Orchestrator API アクセスのアプリケーション スコープを追加します。
アプリケーション スコープ
説明
OR.Assets
Orchestrator でのアセットの読み取り/書き込みアクセス権
OR.BackgroundTasks
Orchestrator でのバックグラウンド タスクの読み取り/書き込みアクセス権
OR.Execution
Orchestrator での実行の読み取り/書き込みアクセス権
OR.Folders
Orchestrator でのフォルダーの読み取り/書き込みアクセス権
OR.Jobs
Orchestrator でのジョブの読み取り/書き込みアクセス権
OR.Machines.Read
Orchestrator でのマシンの読み取りアクセス権
OR.Monitoring
Orchestrator での監視の読み取り/書き込みアクセス権
OR.Robots.Read
Orchestrator での Robot の読み取りアクセス権
OR.Settings.Read
Orchestrator での設定の読み取りアクセス権
OR.TestSets
Orchestrator でのテスト セットの読み取り/書き込みアクセス権
OR.TestSetExecutions
Orchestrator でのテスト セット実行の読み取り/書き込みアクセス権
OR.TestSetSchedules
Orchestrator でのテスト セットのスケジュールの読み取り/書き込みアクセス権
OR.Users.Read
Orchestrator でのユーザーの読み取りアクセス権
例:
-
uipcli test run "https://orch-23-10-paas.cloudapp.azure.com/" "TenantName" -u "orchestratorUsername" -p "********" -o "FolderName" --traceLevel Information -P "C:\userprofile\AutomationProjectWithTestCases\project.json"
-
uipcli test run "https://orch-23-10-paas.cloudapp.azure.com/" "TenantName" -I "76000552-3e4f-4590-9317-cdb420001f1d" -S "********" --applicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" --identityUrl "https://orch-23-10-paas.cloudapp.azure.com/identity" -o "FolderName" --traceLevel Information -P "C:\userprofile\AutomationProjectWithTestCases\project.json"
-
uipcli test run "https://automation-suite.base.url.com/" "TenantName" -A "organizationName" -I "3f6239b9-e0e8-465e-a429-d9ffd1d9e57a" -S "********" --applicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" -o "FolderName" --traceLevel Information -P "C:\userprofile\AutomationProjectWithTestCases\project.json"
-
uipcli test run "https://cloud.uipath.com/" "TenantName" -A "organizationName" -I "becc663c-8f1e-409a-a75f-c00330d80bc8" -S "********" --applicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" -o "FolderName" --traceLevel Information -P "C:\userprofile\AutomationProjectWithTestCases\project.json
-
uipcli test run "https://orch-23-10-paas.cloudapp.azure.com/" "TenantName" -u "orchestratorUsername" -p "********" -o "FolderName" --traceLevel Information -P "C:\userprofile\AutomationProjectWithTestCases\project.json" --out junit
-
uipcli test run "https://orch-23-10-paas.cloudapp.azure.com/" "TenantName" -u "orchestratorUsername" -p "********" -o "FolderName" --traceLevel Information -P "C:\userprofile\AutomationProjectWithTestCases\project.json" --out uipath