Web-based SAP support

You can use the SAP Web testing support provided with the UFT One SAP Solutions Add-in to test user-interface objects in Web-based SAP applications.

These applications include SAP Enterprise Portal, Internet Transaction Server (Web GUI), SAP Customer Relationship Management (CRM, Interaction Center Web Client), SAP SuccessFactors, SAP Web Dynpro for ABAP, SAP NWBC for HTML, and SAP Business Networks Web applications.

Supported environments

For details on supported Web-based SAP environments, see the SAP Solutions Add-in section of the UFT One Support Matrix.

Supported browsers

Browser

SAPUI5 Desktop applications

SAPUI5 test objects

SAP Business Networks Web applications

SAPWebExt test objects

Other Web-based SAP environments

SAP test objects

Internet Explorer
Firefox

UFT One versions 2021 R1 and later:

Edge
Chromium Edge
Chrome

Back to top

Prerequisites

Open UFT One before you open your Web-based SAP application.

Additionally, Web-based SAP testing support is similar to other Web-based add-ins, and the Web Add-in must be loaded before you start.

The following prerequisites also apply in specific scenarios:

SAPUI5 Add-in

The SAPUI5 Add-in is installed when you install the SAP Solutions Add-in.

However, to fully support SAPUI5 applications, you must do the following:

  • Install the SAP Solutions Add-in and the Web Add-in.

  • When starting UFT One, in the Add-ins Manager, select the SAPUI5 add-in under the SAP Add-in and the Web Add-in.

SAP Business Networks

If you are working with SAP Business Networks applications, you must install the SAP Solutions Add-in and the Web Add-in.

When starting UFT One, select the SAPWebExt Add-in under the SAP Add-in and the Web Add-in.

SAP server / client configuration

For SAP GUI for HTML, Interaction Centre Web Client (ICWC) applications, and Customer Relationship Management (CRM) applications, confirm that your SAP server and client are configured properly.

For more details, see Enable support for SAP GUI for Windows.

HTML objects If you are working in an SAP GUI application that contains HTML objects, you can log on to your application before opening UFT One, but you must open UFT One before navigating to the transaction containing any HTML objects.

Back to top

Test object methods and properties

The SAP Solutions Add-in provides test objects, methods, and properties that can be used when testing objects in Web-based SAP applications. For details, see the SAP Web section of the UFT One Object Model Reference for GUI Testing.

If you are working with SAP-related toolkits, see the following for available test objects, methods and properties:

Back to top

Configuration

To configure options for working with Web-based SAP apps, use the Web pane. Ensure that a GUI test is open and select Tools > Options > GUI Testing tab > Web > General node.

Configure additional settings in the following locations:

Record and Run Settings

Use one of the following:

  • Use the SAP tab (Record > Record and Run Settings) to connect to the SAP GUI Client for SAP GUI for HTML or Interaction Centre Web Client (ICWC) applications.

    This is because ICWC opens from inside the SAP GUI Client. For more details, see Enable support for SAP GUI for Windows.

  • Use the Web tab (Record > Record Settings) to instruct UFT One to use a specific URL and browser to open a Web-based SAP application, or the SAP Enterprise Portal, at the beginning of each record and run session.

    Alternatively, you can instruct UFT One to record and run on any open browser.

Test Settings

Use the Web pane. (File > Settings > Web node)

Custom Active Screen Capture Settings

Use the Web section. (Tools > Options > GUI Testing tab > Active Screen node > Custom Level button)

Application Area Additional Settings

Use the Web pane. In the application area, select Additional Settings > Web in the sidebar.

Back to top

See also: