- スタート アップ ガイド
- プロジェクト管理
- 変更影響分析を使用する
- テスト ケースを作成する
- テスト ケースを複製する
- テスト ケースをエクスポートする
- Studio のテスト ケースを Test Manager にリンクする
- テスト ケースを削除する
- テスト ケースを表示および検索する
- プロジェクトの運用とユーティリティ
- Test Manager の設定
- ALM ツールとの連携
- API 連携
- テスト用エージェントのコードを作成する
- トラブルシューティング
Test Cloud での自律型テスト実行
Test Manager での自律型テスト実行。スクリプト化されたオートメーションを構築または保守することなく、Autopilot を使用して手動テスト用のテスト ケースを自動的に実行します。
自律型テスト実行は、Autopilot を使用して、事前定義された手動テスト用のテスト ケースを自動的に実行する Test Manager の機能です。人間のテスターがテスト ステップをすでに作成しています。Autopilot はそれ以上の介入なしにそれらのテストを実行するので、手動テストを完全なスクリプト化された Studio オートメーションに変換する手間が不要になります。
自律型テスト実行は Test Cloud 経由でのみ利用可能で、クロスプラットフォームです。
自律型テストを実行するには、アクティブな App Test Platform Unit バンドルが必要です。テナントにアカウントがない場合は、管理者が追加できます。
主な機能
- Unattended execution only: runs test cases without attended-mode execution, including from a pending execution. Running a single test case and running an entire test set are both unattended.
- Execution target selection: the Configure tab lets you select a runtime type, an Orchestrator folder, robot account, and machine template for the run, with an optional host machine once a specific machine template is chosen. Serverless runtime types are also available. Runs on the Serverless runtime type are limited to 10–15 minutes. If a run exceeds 10–15 minutes, it fails automatically. Selections are not persisted between sessions.
- Orchestrator folder selection: a folder other than the project's default Orchestrator folder can be used for the run. Any Orchestrator folder that you have access to can be selected on the Configure tab. If no folder is selected, the project's default Orchestrator folder is used.
- Web ベースのスコープ: Web ベースのテスト ケースのみを対象とします。デスクトップ アプリケーションはサポートされていません。実行では、マシンに設定されている既定のブラウザーを使用します。Chromium ベースのブラウザーと Firefox の両方がサポートされています。ブラウザーの選択は設定できません。
- Credential and parameter support: test steps reference dynamic values through the
{{parameterName}}syntax, Orchestrator assets directly, for example{{MyAsset}}, and Orchestrator credential assets through the{{credential:credentialName}}syntax. - Persistent target URL: the target application URL can be set once on the test case, in the optional URL field above Precondition on the Manual Steps tab, instead of at every run.
- Model choice: you can select the artificial intelligence (AI) model used for the run. The models available to you depend on your organization's Automation Ops policy.
- 詳細な実行結果: 必要最低限の成功または失敗インジケーターではなく、アクション、スクリーンショット、および失敗に関するエージェントの推論の完全なトレースです。ロボット ログも利用できます。
- ライブ ストリーミング、リモート制御、キャンセル: 進行中の実行を監視し、必要に応じてリモート制御で引き継ぎ、いつでもキャンセルできます。
- Dedicated execution type: runs are recorded under the Autonomous execution type, shown in the execution grid, filters, Excel and PDF exports, Insights, and project import and export. An execution that combines more than one type shows as Mixed. Executions run before this release keep showing as Manual.
- More entry points: Run autonomously is available from the Manual Steps tab, a Pending Execution, Test Cases > Execute, and the context menu of a test case.
- Autonomous Execution permission: Run autonomously requires the Autonomous Execution permission. For more information, see Creating custom roles.
自律型テスト実行を使用すべき状況
- 回帰テスト: 安定した機能の既存の手動テスト用のテスト ケースを、人間の作業なしで繰り返し実行します。
- 資格情報に依存するテスト: 資格情報は Orchestrator に安全に保存され、実行時に挿入されるため、資格情報をハードコーディングしたり公開したりしてはならない環境で役立ちます。別のアカウントで同じテストを実行するには、「 Orchestrator アセットでパラメーターをオーバーライドするユース ケース: 異なるアカウントでテストを実行する」をご覧ください。
- 1 回限りのテスト、またはめったに実行されないテスト: 一時的な検証や頻度の低いチェックのために永続的なオートメーションを構築するためのオーバーヘッドを回避できます。
- 変更の激しいインターフェイスや不安定なインターフェイス: インターフェイスを頻繁に変更するアプリケーションでは、スクリプトを継続的にメンテナンスする必要がなくなり、実行時に Autopilot が適応します。
- ビジネス ユーザーまたは非技術的なテスト: ビジネス アナリストや内容領域専門家は、オートメーション ツールの習得やスクリプトの保守なしに、手動の指示に基づいてテストを実行できます。
資格情報の管理
You can refer to an Orchestrator asset directly in an autonomous test case, for example Login with {{MyAsset}}, instead of typing a user name and password in plain text. This keeps the test case secure, because credentials are not exposed. The asset is used as it is and is not overridden.
Test steps can also reference an Orchestrator Credential-type asset using the {{credential:credentialName}} syntax. At runtime, an existing Get Credential activity fetches the value.
Test Manager 自体はユーザー名やパスワードを認識したり保存したりすることはなく、アセット名のみを認識または保存します。値はセキュリティで保護された文字列としてワークフローを介して伝送されます。AI モデルでは、ターゲット フィールドに入力されるまで、セキュリティで保護されたプレースホルダーのみが認識され、プレーンテキストは認識されません。
- Credentials are fetched from the selected folder. If no folder is selected, the project's default Orchestrator folder, configured in Project Settings, is used.
- Both the test case author and the test case executor need the
AssetsViewpermission on the selected folder, or on the project's default folder if none is selected; otherwise the run fails at login. - 資格情報の選択はドロップダウンのみであるため、無効なアセット名や入力ミスがあったアセット名は入力できません。権限がないと失敗します。
- 資格情報の解決は、自律型テストの実行中にのみ適用されます。同じ手順を手動で実行する場合は、資格情報を個別に検索する必要があります。
- プロジェクトとフォルダーの設定 (資格情報の解決に使用する既定のフォルダーを含む) は、テナントまたはプロジェクト間でテスト ケースをエクスポートまたはインポートする際には引き継がれません。
ライブストリーミング、リモート制御、キャンセル
実行中の自律型テスト実行ジョブをライブで監視し、必要に応じてセッションのリモート制御を行うことができます。どちらの機能でも、既存の自動実行ライブ ストリーミング インフラストラクチャを再利用します。
Autonomous Explorationの永続的なサイド・パネルとは異なり、Autonomous Test Executionのライブ・ビューは、「実行結果」表の 「ビデオ 」列を通じてテスト・ケースの実行ごとに表示され、一度に1つではなく、複数の実行を並列でトリガーできます。
録画したビデオは、テスト ケース レベルでの自律的な結果には表示されません。録画したビデオは、テスト セット レベルで利用できます。
実行中の無人ジョブは、いつでもキャンセルすることもできます。実行の一時停止はサポートされていません。
Running test sets autonomously
自律型テスト実行では、テスト セットの実行がサポートされます。テスト セット内の適切な各自律型テスト ケースは、1 つの無人 Orchestrator ジョブとして実行されます。
- テスト セットで特定のロボットまたはマシンがピン留めされていない限り、Orchestrator によってジョブが割り当てられます。
- 以下のいずれかを使用するテスト セットは、自律実行の対象外です。
- アクティビティ カバレッジ
- 実行順序の適用
- Healing Agent
For more information, see Executing autonomous tests.
実行を開始する
スケジュール、および UiPath CLI または API は、自動実行のみを開始します。自律実行は開始されません。
既知の制限事項
- Runs on the Serverless runtime type are limited to 10–15 minutes. If a run exceeds 10–15 minutes, it fails automatically.
- Autopilot によるテストへのアプローチ方法を変更するには、手動ステップを直接編集する必要があります。現時点では、プロンプト ライブラリはサポートされていません。
- スケジュール、および UiPath CLI または API は自律実行を開始できません。自動実行のみが開始されます。
- 動的テスト データ管理と Data Fabric との連携は利用できません。
- 完全な人間参加型の制御は実装されていません。Autopilot がインターフェイス要素を識別できない場合、またはブロッカーにぶつかった場合、実行が停止して特定の問題が表示されるので、手動で解決する必要があります。
- 自律型テスト実行では、Web ベースのテスト ケースのみがサポートされます。デスクトップ アプリケーションはサポートされていません。マシンに設定されている既定のブラウザーで実行されます。Chromium ベースのブラウザーと Firefox がサポートされており、別のブラウザーを選択するオプションはありません。
ライセンス
Autonomous Test Execution consumes Platform Units. For more information, see Licensing and consumption for Autonomous Testing.
For step-by-step instructions, see Running Autonomous Test Execution. For details on reviewing a run's results, see Reviewing Autonomous Test Execution results.