UiPath Documentation
test-manager
2.2510
true
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Test Manager ガイド

最終更新日時 2026年5月11日

SAP Cloud ALM

SAP Cloud ALM プロジェクトを Test Manager と連携すると、テスト プロジェクトやテスト ケースの作成、テストの実行、詳細な実行情報の表示が可能になります。この連携により、Test Manager を使用して、自動化されたテストを SAP Cloud ALM インスタンス内で管理および実行できます。

サポートされるテスト シナリオ

SAP Cloud ALM を Test Manager と連携すると、以下のテスト アクティビティを実行できます。

  • テスト ケースの作成:
    • 自動化されたテスト ケースを SAP Cloud ALM で作成し、後から Test Manager 内でそのテスト ケースに Studio のオートメーションを割り当てる。
    • Test Manager で、対象の SAP Cloud ALM プロジェクトと同期する自動化されたテスト ケースを作成する。
  • テスト ケースの実行:
    • 自動化されたテスト ケースを、SAP Cloud ALM のインターフェイスを使用して Test Manager 内で実行する。
    • 自動化されたテスト ケースを、SAP Cloud ALM のインターフェイスから独立して Test Manager 内で実行する。
  • テスト ケースのレポート:
    • SAP Cloud ALM から Test Manager のテスト実行ビューに直接移動して詳細情報を確認する。

SAP Cloud ALM を Test Manager と連携する

SAP Cloud ALM を Test Manager と連携するには、次の手順を実行します。

1. 新しいサービスを作成する

For more information about manually creating a service, refer to Creating Services Manually, from the SAP Cloud ALM documentation.

  1. SAP Cloud ALM で、[管理][ランドスケープ管理] の順に移動します。
  2. [サービスおよびシステム] ページを開きます。
  3. [追加] を選択して [新規クラウドサービス] を選択します。
  4. 以下のように、必要なパラメーターを使用して新しい UiPath サービスを構成します。
    • 名前: 「 UiPath」と入力します。
    • システム番号: SAP 環境で利用可能なシステム番号を入力します。
    • サービス タイプ: [Unspecified Cloud Service (HTTP)] を選択します。
    • ロール: [Test] を選択します。
  5. [保存] を選択して、新しいサービスを確定します。

2. 新しいエンドポイントを追加する

Endpoints allow you to create an authenticated connection to the previously created service. For more information, refer to Adding Endpoints from the SAP Cloud ALM documentation.

  1. Create an external application in the UiPath organization that you want to connect SAP Cloud ALM to. For more information about creating and managing external applications, refer to Managing OAuth external applications.

    注:

    [アプリ ID] と [シークレット ID] ([アプリ シークレット] の下にあります) は、エンドポイントの認証の種類を設定するときに使用します。

  2. Assign the following Test Manager user and application scopes to the previously created external application. This step is crucial for the SAP Cloud ALM integration to function correctly. For more information about Test Manager scopes, refer to API Scopes. The scopes you need to assign include:

    • TM.Projects
    • TM.TestSets
    • TM.TestCases
    • TM.TestExecutions
    • TM.CustomFieldDefinitions
    • TM.CustomFieldValues
  3. [リダイレクト URL] フィールドに「 https://www.uipath.com」と入力します。

  4. [サービスおよびシステム] ページで、先ほど作成したサービスを選択します。

  5. [エンドポイント][追加] を選択します。

  6. [エンドポイント追加] ポップアップで、次のパラメーターを設定します。

    • エンドポイント名: このパラメーターは自動的に生成されます。この値を UiPathに変更します。
    • ユース ケース: UiPath サービスでサポートされるユース ケースは Test Automation です。
    • Root URL: Input the Test Manager URL of the tenant where you want to create the test cases, followed by the api suffix. Example: https://{yourDomain}/{organizationName}/{tenantName}/testmanager_/api.
    • 認証タイプ: [OAuth2ClientCredentials] を選択します。
      • クライアント ID: 先ほど作成した外部アプリケーションのアプリ ID の値を入力します。
      • クライアントシークレット: 先ほど作成した外部アプリケーションのシークレット ID の値を入力します。
      • Token Service URL: Input the UiPath® Identity Server endpoint of type Token: https://cloud.uipath.com/identity_/connect/token. For a list of Identity server endpoints, refer to UiPath Identity Server Endpoints.
  7. [保存] を選択して、新しいエンドポイントを確定します。

この設定により、SAP Cloud ALM システムと Test Manager システムが通信と同期を行うことができるようになります。

SAP Cloud ALM と Test Manager を使用する

SAP Cloud ALM を Test Manager と連携すると、テスト ケースの作成と実行、実行結果の表示などのテスト操作を実行できるようになります。以降のセクションでは、連携のエンドツーエンドのプロセスについて説明します。

Creating test cases - overview

SAP Cloud ALM と Test Manager の連携は、自動化されたテスト ケースにのみ適用されます。

自動化されたテスト ケースを作成すると、同時に SAP Cloud ALM によって、接続されている Test Manager インスタンス内に新しいプロジェクトが作成されます。プロジェクトの名前は SAP Cloud ALM 内のプロジェクトの名前と同じで、末尾に一意の ID が付きます。プロジェクトには、作成した新しいテスト ケースも含まれます。初期のテスト ケースと同一の設定を使用して他のテスト ケースを作成する場合、SAP Cloud ALM によって、以前に生成されたプロジェクト内に新しいテスト ケースが作成されます。

SAP Cloud ALM と Test Manager の両方で作成したテスト ケースは、特定のコンテキスト内で作成されます。SAP Cloud ALM のコンテキストは、Test Manager プロジェクトのカスタム フィールド [SAP Country/Region][SAP Scope][SAP Solution Process] に保存されます。これらのパラメーターにより、SAP Cloud ALM 内のテスト ケースと Test Manager 内のテスト ケースとの間に適切なマッピングとコンテキストが設定されます。これらのカスタム フィールドには、Test Manager プロジェクトに同期するスコープと、対応するプロセスの数に応じて、複数の値を格納できます。

SAP Cloud ALM への同期が必要なテスト ケースを Test Manager 内に作成する必要がある場合、上記のカスタム フィールドに対して適切なコンテキストを選択します。

自動化されたテスト ケースを SAP Cloud ALM 内に作成する

SAP Cloud ALM から直接、Test Manager での自動化されたテスト ケースの作成をトリガーするには、次の手順を実行します。

  1. SAP Cloud ALM に移動し、[プロジェクト] ドロップダウン リストから既存のプロジェクトを選択するか、Test Manager との連携専用として使用するプロジェクトを作成します。

  2. [テスト準備] アプリに移動します。

  3. [ テスト ケース ] セクションで、[ Create a Test Case] を選択します。テスト ケースを次のように設定します。

    • タイプ: [自動] を選択します。 この連携は、ビジネス ソリューションの自動化されたテストケースを SAP Cloud ALM で作成、管理、実行するのに役立ちます。
    • 自動化プロバイダ: ドロップダウン リストから UiPath Test エンドポイントを選択します。
    • 表題: 目的のスコープの一意のタイトルを入力します。
    • 範囲: スコープを選択します。 この値は、Test Manager に [SAP Scope] カスタム フィールドとして表示されます。
    • ソリューションプロセス: 任意でソリューション プロセスを選択します。 この値は、Test Manager に [SAP Solution Process] カスタム フィールドとして表示されます。
    • 国/地域: ソリューション プロセスを選択した場合は、目的の国または地域を選択する必要があります。 この値は、Test Manager に [SAP Country/Region] カスタム フィールドとして表示されます。
  4. [保存] を選択して、テスト ケースの作成を確定します。

  5. Go to Test Manager from SAP Cloud ALM, to the newly created test case. In the Test Manager project, go to Project settings, and select the Automation tab. Then, assign a default Orchestrator folder to the project created through SAP Cloud ALM:

    5.1. Select the Default Folder dropdown list.

    5.2. Select your preferred Orchestrator folder.

    5.3. Select Save to confirm your changes. The selected folder is used to execute all your tests. This step is required just once, right after the creation of the associated Test Manager project.

For more information about creating automated test cases in SAP Cloud ALM, refer to Creating Automated Test Cases.

自動化されたテスト ケースを Test Manager で作成する

Test Manager から、SAP Cloud ALM での自動化されたテスト ケースの作成をトリガーするには、次の手順を実行します。

  1. 前の手順で SAP Cloud ALM から作成した Test Manager プロジェクトを開きます。
  2. 左側のナビゲーション パネルの [テスト ケース] に移動します。
  3. [テスト ケースを作成] をクリックします。
  4. テスト ケースを次のように設定します。
    • 名前: テスト ケースの名前を入力します。
    • バージョン: 任意で、テスト ケースにバージョン タグを追加します。
    • 説明: 任意で、テスト ケースの説明を入力します。
    • ラベル: カスタム ラベルを追加します。
  5. [作成] を選択して、新しいテスト ケースの作成を確定します。
  6. 新しく作成したテスト ケースを開き、[詳細] タブに移動します。
  7. 以下のカスタム フィールドで、SAP Cloud ALM の対象となるプロジェクトに関係する値を選択します。
    • SAP Country/Region: 対象の国/地域を選択します。 これは、ソリューション プロセスをテストする国/地域に相当する国/地域です。

    • SAP Scope: 目的のスコープを選択します。 これは、SAP Cloud ALM プロジェクトでテストするスコープに相当するスコープです。

    • SAP Solution Process: 対象のソリューション プロセスを選択します。 これは、SAP Cloud ALM プロジェクトでテストするソリューション プロセスに相当するソリューション プロセスです。

      注:

      If your Test Manager project holds multiple SAP scopes and process values, make sure the selected process corresponds to the chosen scope. Test Manager does not automatically filter the SAP Solution Processes based on the SAP Scope value. :::

      By selecting the appropriate values for SAP Scope, SAP Solution Process, and SAP Country you ensure the test cases created in Test Manager will synchronize with SAP Cloud ALM when the same scope and process are synchronized.

      For more information about creating test cases in Test Manager, refer to Create test cases.

Test Manager から SAP Cloud ALM にテスト ケースを同期する

注: For synchronizing automated test cases from Test Manager to SAP Cloud ALM, ensure to select appropriate values for the custom fields SAP Country/Region, SAP Scope, SAP Solution Process in the Test Manager test cases you wish to synchronize.

Test Manager で作成したテスト ケースを、接続されている SAP Cloud ALM プロジェクトで同期するには、次の手順を実行します。

  1. SAP Cloud ALM プロジェクトを開き、[テスト準備] アプリに移動します。

  2. [テストケース] セクションで、[自動テストケース同期] を選択します。

    Figure 1. The Synchronize Automated Test Cases button

  3. Select the scope for which you want to synchronize automated test cases. For example, if you created an automated test case in Test Manager with Scope 3, ensure this same Scope 3 scope is selected in SAP Cloud ALM when you synchronize test cases.

注:

この値は、Test Manager で新しい自動化されたテスト ケースを作成するために使用したスコープと一致する必要があります。

  1. オートメーション プロバイダー (UiPath Test Cloud) を選択します。これは、自動化されたテストを作成するために使用したエンドポイントです。

  2. Select Synchronize to finish the process.

For more information about synchronizing automated test cases from Test Manager to SAP Cloud ALM, refer to Synchronizing Automated Test Cases.

テスト ケースにテスト オートメーションを割り当てる

UiPath® Studio を使用してテスト オートメーションを作成するか、オートメーションを Test Manager の既存のテスト ケースに割り当てます。

  1. Studio で、既存のプロジェクトを開くか、新しいプロジェクトを作成します。

  2. このプロジェクトを Test Manager インスタンスに接続します。

    2.1. From the Design ribbon, select Test Manager.

    2.2. Select Test Manager Settings.

    2.3. Enter the base URL of your synchronized Test Manager instance with SAP Cloud ALM.

    2.4. Select Connect.

    2.5. After the connection is successful, in the Default Project field, enter the name or prefix of the target Test Manager project.

  3. Create and design test cases for your solution process. Refer to the Introduction page of Studio testing to explore the available test design capabilities.

  4. プロジェクトの [プロジェクト] パネルに移動し、テスト ケースを右クリックします。

  5. [Test Manager にリンク] を選択します。

  6. [Test Manager にリンク] ポップアップで、以下のテスト情報を入力します。

    • プロジェクト: 既存のテスト ケースを含むプロジェクト、または新しいテスト ケースを作成するプロジェクトを選択します。 Studio を Test Manager に接続したときに既定のプロジェクトを選択した場合は、このプロジェクトが [プロジェクト] フィールドに表示されます。
    • テスト: 選択したプロジェクトの既存のテスト ケースの名前を入力します。新しいテスト ケースを作成するには、既定値である [ <new test case> ] を選択したままにします。
    • 名前: 新しいテスト ケースを作成するには、[テスト] フィールドを<new test case>のままにし、Test Manager で新しいテスト ケースの名前を入力します。
    • 要件: 任意で、既存の要件の名前を入力して、要件をテスト ケースに割り当てます。要件を割り当てない場合は、[ <none> ] の値を選択したままにします。
  7. [OK] を選択して変更を保存します。

Test Manager でテスト ケースにオートメーションを割り当てる方法について詳しくは、こちらをご覧ください。

テスト ケースを実行する

自動化されたテスト ケースは、SAP Cloud ALM と Test Manager のどちらからでも直接実行できます。実行結果は、SAP Cloud ALM と Test Manager の両方に表示されます。

For detailed steps on how to execute automated test cases in SAP Cloud ALM, refer to Executing Automated Test Cases.

実行結果

実行のステータスとデータは、SAP Cloud ALM と Test Manager の両方からリアルタイムに確認できます。テスト ケースの実行後、SAP Cloud ALM と Test Manager の両方で実行のステータスを確認できます。

SAP Cloud ALM のテスト ケースの [実行済テスト実行 ] セクションをまだ開いている場合は、[ Open Execution Log ] を選択すると、Test Manager 内のそのテスト ケースの実行ログに直接移動できます。

進行中の実行ステータスを Test Manager から SAP に同期する

After you trigger the execution of a test case in SAP Cloud ALM, you can track the status and the progress of the test run from the test case list. You can refresh the status and the progress of the test run by selecting 自動化プロバイダからテスト進捗をリフレッシュ Refresh Test Progress from the Automation Provider.

完了した実行ステータスを Test Manager から SAP に同期する

Once a test case execution is completed in Test Manager, it can be synchronized with SAP Cloud ALM. To do this, navigate to your SAP Cloud ALM project and select the Test Execution app. Within the Test Cases section, select the desired test case and then select Refresh executed test runs from the Automation Provider Refresh Executed Test Runs from the Automation Provider. This action updates the execution status in SAP Cloud ALM to match the one from Test Manager.

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得