SAP Tab (Record and Run Settings Dialog Box)

This dialog box enables you to specify how UFT connects to your SAP GUI for Windows application during a recording or run session.

To access

Select Record > Record and Run Settings and choose the SAP tab.

See also

User interface elements are described below:

UI Elements

Description

Record and run tests on any open SAP GUI for Windows application

Instructs UFT to use any open SAP GUI for Windows application to record and run the test.

This option supports sessions opened using the SAP Logon dialog box or the SAP Logon Pad.

Open the following SAP client when a record or run session begins

Instructs UFT to connect to the specified SAP server and open your SAP GUI for Windows application using specified user settings.

If you select to connect to a specific server, you can specify details that will enable UFT to automatically log on to the server each time a record or run session begins (instead of recording the logon steps).

Server description

Indicates the server to which you want to connect. The Server description box lists the servers available in the SAP Logon Pad or the SAP Logon dialog box.

To add a server to the list in the Record and Run Settings dialog box, close the Record and Run Settings dialog box, define an appropriate entry using your SAP Logon dialog box, and then reopen the Record and Run Settings dialog box.

The values you enter for the User, Client, Password, and Language in the Auto-logon area of the dialog box are saved with the selected server (in addition to being saved with the test). Therefore, the saved values are automatically displayed in the auto-logon area when you specify a previously selected server.

For SAPGUI 740 environments, if this item is missing, add an environment variable SAPLOGON_INI_FILE with the value set to the path of the saplogon.ini. This file can be found on a computer that has SAPGUI version 730 installed. In addition, ensure the server you want to use is added in the SAPGUI Logon dialog with same name

System data container

Specifies the system data container that contains the available target systems for the current test.

Enabled only if you open a GUI test from Solution Manager in integrated mode.

Target system

A drop-down list of available SAP environments that can be tested.

Enabled only if the System data container option is selected.

Enable auto-logon

Instructs UFT to open the specified SAP GUI for Windows application using the specified logon details.

Enabled only when Open the following SAP Gui client when a record or run session begins is selected.

User

The user name used to log on to the specified server.

Enabled only when Enable auto-logon is selected.

Password

The password for the specified user name.

Enabled only when Enable auto-logon is selected.

Client

The client number.

Enabled only when Enable auto-logon is selected.

Language

The language that you want the specified SAP GUI for Windows application to display.

Enabled only when Enable auto-logon is selected.

Remember password

Saves the password information in this dialog box so that you do not have to enter it each time you begin to record or run the test.

Enabled only when Enable auto-logon is selected.

Close the SAP GUI for Windows application when the test is closed

Instructs UFT to close the SAP GUI for Windows session specified in the Record and Run Settings dialog box when the test is closed.

Any other SAP GUI for Windows session that was opened before, during, or after the run session is not affected.

The Session cleanup option in the SAP pane of the Options dialog box (Tools > Options > GUI Testing tab > SAP node) overrides this option.

Do not record and run on sessions that are already open

Instructs UFT not to record or run tests on any SAP GUI for Windows sessions that were already open prior to the start of the record or run session. This is to ensure that steps are not inadvertently recorded on other SAP GUI for Windows sessions that may also be running on the same computer.

Wait for Web pages to load before running steps

Instructs UFT to wait for Web-based SAP pages to synchronize completely before starting the test run.

Note: This option is selected by default. Clear this option only when working with IC WebClient.