- 基本情報
- Studio
- Orchestrator
- Testing ロボット
- Test Manager
- CI/CD との連携

Test Suite ユーザー ガイド
プロジェクトを分析する
前提条件:
- プロジェクトを作成します。
- CLI の
exe
ファイル (Windows の場合) またはdll
ファイル (Linux の場合) を実行します。 - 必要な Orchestrator API アクセスのアプリケーション スコープを追加します。
プロジェクトの検証は、UiPath CLI のパック タスクや分析タスクでは実行されません。
パラメーター |
説明 |
---|---|
|
分析後に出力するメッセージの種類を選択します。
|
|
ルールに違反した場合、ジョブは失敗します。 |
|
警告をエラーとして扱います。 |
|
結果を保存する JSON ファイルのフル パスです。 これを引数として追加しない場合、結果は標準コンソールにのみ出力されます。 |
|
分析時に無視するルールをコンマで区切って列挙したリストです。 |
--orchestratorUsername (*)
(ユーザー名とパスワードによる基本認証を使用する場合は必須) |
Orchestrator への認証に使用するユーザー名です。対応するパスワードと組み合わせて使用する必要があります。 |
--orchestratorPassword (*)
(ユーザー名とパスワードによる基本認証を使用する場合は必須) |
Orchestrator への認証に使用するパスワードです。対応するユーザー名と組み合わせて使用する必要があります。 |
-orchestratorAuthToken (*)
(トークンベースの認証を使用する場合は必須) |
Orchestrator への認証に使用する OAuth2 更新トークンです。アカウント名およびクライアント ID と組み合わせて使用する必要があります。 |
--orchestratorAccountName (*)
(トークンベースの認証を使用する場合は必須) |
Orchestrator Cloud RPA のアカウント名です。OAuth2 更新トークンおよびクライアント ID と組み合わせて使用する必要があります。 |
--orchestratorAccountForApp (*)
|
Orchestrator Cloud RPA のアカウント名 (組織名) です。外部アプリケーションのアプリケーション ID、アプリケーション シークレット、アプリケーション スコープと組み合わせて使用する必要があります。 |
--orchestratorApplicationId (*)
(外部アプリケーション認証を使用する場合は必須) |
外部アプリケーション ID です。**アプリケーション アカウント、アプリケーション シークレット、アプリケーション スコープと組み合わせて使用する必要があります。 |
--orchestratorApplicationSecret (*)
(外部アプリケーション認証を使用する場合は必須) |
外部アプリケーション シークレットです。アプリケーション アカウント、アプリケーション ID、アプリケーション スコープと組み合わせて使用する必要があります。 |
--orchestratorApplicationScope (*)
(外部アプリケーション認証を使用する場合は必須) |
アプリケーション スコープを単一のスペースで区切って列挙したリストです。外部アプリケーションのアプリケーション アカウント、アプリケーション ID、アプリケーション シークレットと組み合わせて使用する必要があります。 |
--orchestratorFolder (*)
|
対象の Orchestrator フォルダーの名前です。 サブフォルダーを入力するには、親フォルダーの名前とサブフォルダーの名前の両方を入力してください。例:
AccountingTeam\TeamJohn
|
--orchestratorUrl (*)
|
Orchestrator インスタンスの URL です。 |
--orchestratorTenant (*)
|
マシンを削除する Orchestrator インスタンスのテナントです。 |
-l 、--language |
オーケストレーターの言語です。 |
-y 、--disableTelemetry |
テレメトリ データを無効化します。 |
|
イベントのトレースを表示します。 |
-identityUrl (PaaS デプロイの場合のみ必須 )
| Identity Server の URL です。 |
|
組み込みの NuGet フィードを無効化します。 |
|
このコマンドのパラメーターと例を表示します。 |
|
バージョン情報を表示します。 |
Project(s) Path (pos.0) (必須)
| project.json ファイルのパス、または複数の project.json ファイルを含むフォルダーのパスです。
|
使用状況:
package analyze [--analyzerTraceLevel ] [--stopOnRuleViolation] [--treatWarningsAsErrors] [--saveOutputToFile] [--ignoredRules ] [--orchestratorUrl --orchestratorTenant ] [--orchestratorUsername --orchestratorPassword ] [--orchestratorAuthToken --orchestratorAccountName ] [--orchestratorFolder ]
package analyze <project_path> [--analyzerTraceLevel <analyzer_trace_level>] [--stopOnRuleViolation] [--treatWarningsAsErrors] [--saveOutputToFile] [--ignoredRules <activity_1_id,activity_2_id,activity_3_id,activity_4_id>] [--orchestratorUrl <orchestrator_url> --orchestratorTenant <orchestrator_tenant>] [--orchestratorUsername <orchestrator_user> --orchestratorPassword <orchestrator_pass>] [--orchestratorAuthToken <auth_token> --orchestratorAccountName <account_name>] [--orchestratorFolder <folder>]
例:
-
package analyze "C:\UiPath\Project\project.json"
-
package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error"
-
package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation
-
package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors
-
package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors --resultPath "C:\UiPath\Project\output.json"
-
package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors --resultPath "C:\UiPath\Project\output.json" --ignoredRules "ST-NMG-009,ST-DBP-020,UI-USG-011,ST-DBP-020"
-
package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors --resultPath "C:\UiPath\Project\output.json" --ignoredRules "ST-NMG-009,ST-DBP-020,UI-USG-011,ST-DBP-020" --orchestratorUrl "https://orchestratorurl.com" --orchestratorTenant "default" --orchestratorUsername "username" --orchestratorPassword "\_ye5zG9(x" --orchestratorAuthToken "AuthToken" --orchestratorAccountName "AccountName" --orchestratorFolder "OrchestratorFolder"