Configure Solution Manager to work with UFT One

This task describes how to configure Solution Manager to work with UFT One so that you can use the Solution Manager-UFT One integration features available with the UFT One 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 One.

Back to top

Register UFT One to work with Solution Manager

This step enables Solution Manager to communicate with UFT One. (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: UFT One

    Customizing Table for External Test Tools:

    COM Program ID MERCURY.ECATTAGENT
    Tool Desc. UFT One
    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 One is now registered to work with your SAP application.

Connecting to SAP servers as a target system using Secure Network Connection (SNC)

UFT One can connect by SNC only to SAP servers that require a user/password logon, and does not support encryption.

To connect by SNC, the following parameter values need to be defined on the server: SNC_Enabled=1, snc/accept_insecure_rfc=1, snc/only_encrypted_rfc=0.

Add the server information with SNC settings to the SAP Gui Client. Then, in UFT One, log on to the server using the SAPGuiUtil.AutoLogon methods. For details, see: For security reasons, the SAP scripting API prevents the recording of passwords.

Workaround if you need to connect using Single Sign-On

Add the server information with SNC settings to the SAP Gui Client. Then, in UFT One, log on to the server using the SAPGuiUtil.OpenConnection methods or the settings in the SAP Tab (Record and Run Settings Dialog Box).

Back to top

Apply necessary roles or profiles to Solution Manager-UFT One Users

  1. Make sure you have permission to:

    • Run Solution Manager scripts

    • Edit Solution Manager scripts

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

    • Connect to Solution Manager from an external tool (UFT One) 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 One-Solution Manager integration. For example, to work with UFT One 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