Show TOC

Recording a Web Dynpro ApplicationLocate this document in the navigation structure

Use

You can record a Web Dynpro ABAP or Java application. The URL for an application has the following form:

http://<Server>:<Service No.>/<URL extension>/<Application>

The URL extension looks different depending on whether the Web Dynpro runtime environment is based on the Java or the ABAP stack.

If you are using the ABAP stack, the extension is:

<ABAP URL extension> = sap/bc/webdynpro

If the Web Dynpro runtime environment is based on Java, the extension has the following format:

<Java URL extension> = webdynpro/dispatcher

Example: http://p12345:50000/webdynpro/dispatcher/local/MyProject/MyApplication.

Use command WEBDYNPRO to start an application for recording in the Web Dynpro Client (ABAP and Java) or Browser (Java only).

WEBDYNPRO (Import) refers only to Web Dynpro Java applications. If a Web Dynpro Java application is recorded in SAP NetWeaver Developer Studio, an XML file is generated, which can be uploaded to eCATT. The relevant Web Dynpro commands are then generated in eCATT.

Prerequisites
  • The test script has a system data container with the appropriate target system (unless the application is in the eCATT system). If the application is Java based, the RFC destination is type G (HTTP connection to external server). In case of an ABAP application, the RFC destination is type H (HTTP connection to ABAP system). You need to have entered the relevant information from the URL in the Target Host and Service No. fields in transaction SM59. On the Logon & Security tab in SM59, you need to have selected Basic Authentication and entered a user and password.

  • Depending on what kind of Web Dynpro application (ABAP or Java) you want to record, you need either a browser (Java only) or the Web Dynpro Client (ABAP and Java).

Procedure

WEBDYNPRO (Record)

The following procedure describes how you record a Web Dynpro application:

  1. In the test script editor, choose the Pattern function.

  2. Choose the group UI Control followed by WEBDYNPRO.

  3. Accept or change the suggested interface name and choose Enter.

  4. In the Record Web Dynpro Application dialog, enter the target system and the application.

    For the above example, you would enter the following in the Application field: webdynpro/dispatcher/local/MyProject/MyApplication

    Optionally, you can also specify the name-value pairs from the URL (these look like this in the URL: ?parameter1=value1&parameter2=value2) in the Parameters from Application section.

  5. When recording a Web Dynpro Java application, you can now select whether the application is to be recorded in the browser or in the Web Dnypro Client. When recording a Web Dynpro ABAP application, you do not have this choice. Therefore, in this case, you go on directly with step 6.

  6. Choose Start Recording.

    The application starts. Depending on the application, you might be required to enter some authentication information.

  7. In the application, make the required entries and actions.

  8. When you are finished in the application, return to eCATT and choose End Recording.

    For every page of the application, one WEBDYNPRO command is entered in the test script.