Configure Solution Manager to work with UFT

This task describes how to configure Solution Manager to work with UFT so that you can use the Solution Manager-UFT integration features available with the UFT SAP Solutions Add-in.

Prerequisites

You (or a Solution Manager system administrator) must install the appropriate support package and configure the Solution Manager server to work with UFT.

Back to top

Register UFT to work with Solution Manager

This step enables Solution Manager to communicate with UFT. (You perform this procedure only once in the system.)

  1. Navigate to transaction SPRO, click SAP Reference IMG, and browse to SAP Solution Manager > Capabilities (Optional) > Test Suite > Test Suite for SAP Solution Manager > Test Automation Framework > Setup > Register Test Tool.

  2. Click New Entries.

  3. Enter the values exactly as shown below:

    Tool Name: Unified Functional Testing

    Customizing Table for External Test Tools:

    COM Program ID MERCURY.ECATTAGENT
    Tool Desc. Unified Functional Testing
    Maintain DB QUICKTEST DATABASE
    Tst DB Ext Tool QUICKTEST RUNTIME DATABASE
    W/o Password Select this checkbox
    W/o Database Select this checkbox
    Transfer Log of External Test Tool Select this checkbox
    Supp. BPCA Trace Clear this checkbox
  4. Navigate to transaction SM30, and enter V_AGS_SMT_TCT, as shown in the example below.

  5. Click Display and verify that a row exists with the following information:

    UFT is now registered to work with your SAP application.

Connecting to SAP servers as a target system via Secure Network Connection (SNC) is not supported.

Workaround: Do one of the following:

Back to top

Apply necessary roles or profiles to Solution Manager-UFT Users

  1. Make sure you have permission to:

    • Run Solution Manager scripts

    • Edit Solution Manager scripts

    • Work with an external tool (UFT) in integrated mode

    • Connect to Solution Manager from an external tool (UFT) in standalone mode

  2. Confirm with your system administrator that the user name you use is assigned the necessary roles or profiles to perform the above tasks before you begin working with the UFT-Solution Manager integration. For example, to work with UFT in standalone mode, you must be assigned the role S_ECET or the profile SAP_ECET in the Solution Manager system. This is because each of these tasks requires special roles or profiles.

  3. In transaction SE38, run the program ECATT_GENERATE_ET_USER to create the service user (ECATT_ET_USR) required for communication with the external tool.

  4. If you are using Solution Manager version 7.2, modify the authorization assigned to the ECATT_ET_USR user to extend its use of the SAP API. To modify the authorization, create a custom role and assign it to this user:

    1. In transaction Role Maintenance (PFCG), create a custom role, for example ECATTUSRROLE.

    2. Authorize the custom role to access one function module for authorization object S_RFC: (ACTVT=16 (Execute), RFC_TYPE=FUNC, RFC_NAME=RFC_GET_FUNCTION_INTERFACE).
    3. Run T-code SU01 on your solution manager server, for easy access to the user menu.

    4. Enter the username Ecatt_ET_USR and open the user's display.

    5. In the Roles tab, add the custom role you created.

For details about these steps and their effects, contact your system administrator or see your SAP and Solution Manager documentation.

Back to top