Record Embedded SAP GUI for HTML Applications

You can record SAP GUI for HTML (also known as WebGUI) applications embedded inside S/4HANA iframe or frame.

Currently, this feature is supported in all SAP WebGUI applications embedded inside S/4HANA on-premise and cloud systems.

A web page contains an iframe if:
  • you are not able to find the requested web element using the selectors or Xpaths.

  • you see an option other than top in the Execution Context Selector window after opening the browser's developer tool by clicking the icon > More Tools > Developer tools or holding down the Ctrl + Shift + I on the login screen.

Prerequisites

Check the following SAP Note to get required access to the authorization object “S_WEBGUI”: 2853198 Information published on SAP site

Procedure

  1. In the Project Explorer, click and then click Create in the left panel or click Create in the Project Explorer main panel. The artifact menu is displayed.

  2. In the artifact menu click Application. A new tab labelled Untitled opens. Later, this label will change to the name of the captured application. The system starts detecting the applications and their screens currently running on your local machine. When it's done, you'll see a list of screens in the picker panel on the left.

  3. Choose the application you want to capture from the list of screens. For more information about capturing an application, see Capture an Application.

    If you select the top window or browser application, the following options will be enabled:

    • Record: By default, the Record option will be enabled, and the Technology will be selected as Web. This option supports the recording of SAP WebGUI applications embedded inside S/4HANA iframes.

    • Capture: If you want to do a manual capture, select Capture Application. The Capture option will be enabled, and the Technology will be selected as Web.

  4. Select the iframe window or SAP WebGUI application by expanding the listed result of your application. The following option will be enabled:

    Capture – By default, the Capture option will be enabled, and the Technology will be selected as Web.

    The newly added screens will have Web as Technology and SAPWebGui as Framework.

  5. Click Record. For more information on how to use the Recorder for an SAP WebGUI application, see Automatically Capture Applications with the Recorder.

View Recorded Screens

You can view the recorded screens of the SAP WebGUI application under Declared Application. If you select a recorded iframe screen, the MAINFRAME will be displayed as false in the application criteria.