Steer SAP Netweaver Business Client controls

With the SAP Web Extension 3.0, you can steer controls in SAP Netweaver Business Client. This chapter describes how to steer controls specific to SAP Netweaver Business Client.

The table below lists SAP Netweaver Business Client controls that you can steer with the SAP Web Extension 3.0.

Business name of SAP Netweaver Business Client controls

Identified in XScan as

Standard Module

Button

Button

CheckBox

CheckBox

ComboBox

ComboBox

Index page

Netweaver Index Page

RadioButton

RadioButton

SAP GUI OK code bar

GuiOkCodeField

Search box

Netweaver Search Box

System selection screen

Netweaver Business Client Logon

Table

Table

Tabs

Netweaver Tab Steering

TextBox

TextBox

For information on how to steer the SAP Netweaver Business Client main menu, refer to this Tricentis Knowledge Base article.

Steer SAP Netweaver Business Client Index page

Use the Module Netweaver Index Page from the Standard subset to steer the Index tab. This tab is located in the top left corner of the SAP Netweaver Business Client window.

You can find the Module under Standard modules->TBox XEngines->Html->SAP Netweaver Business Client.

Index tab in SAP Netweaver Business Client

In this example, you select the menu item User & Roles->Getting Started in the Index tab.

Steer the Index page of SAP Netweaver Business Client

Steer SAP Netweaver Business Client tabs

Use the Module Netweaver Tab Steering from the Standard subset to switch between different SAP Netweaver Business Client tabs.

You can find the Module under Standard modules->TBox XEngines->Html->SAP Netweaver Business Client.

In this example, you select the Enjoy Demo Center: Display tab and switch to the SAP Easy Access tab.

Switch between different SAP Netweaver Business Client tabs

Steer SAP Netweaver Business Client system selection screen

Use the Module Netweaver Business Client Logon from the Standard subset to steer the SAP Netweaver Business Client system selection screen.

You can find the Module under Standard modules->TBox XEngines->Html->SAP Netweaver Business Client.

Before you can steer the system selection screen, you must disable the option Hide system selector on startup. By default, SAP Netweaver Business Client opens the last connection during the startup. If you disable this option, the system selection screen opens on startup instead.

In this example, the XBrowser Engine 3.0 opens the SAP Netweaver Business Client located at C:\Program Files (x86)\NWBC65 with the SAP connection IDES.

SAP Netweaver Business Client path and the name of SAP connection

Hide system selector on startup

To enable system selection screen on startup, follow the steps below:

  1. In SAP Netweaver Business Client, click the button to open the main menu.

  2. Go to Settings->Personalize....

  3. Disable the Hide system selector on startup check box.

  4. Click OK to save the changes.

  5. Restart SAP Netweaver Business Client.

Hide system selector on startup check box in SAP Netweaver Business Client Settings

Steer SAP GUI OK code bar

In SAP Netweaver Business Client, you can go to a transaction using:

You can steer these controls depending on the type of SAP connection you use:

Enable and steer SAP GUI OK code bar

SAP GUI OK code bar is not visible in SAP Netweaver Business Client by default. Before you can scan and steer SAP GUI OK code bar, you have to enable it in SAP Netweaver Business Client settings.

To do so, follow the steps below:

  1. In SAP Netweaver Business Client, click the button to open the main menu.

  2. Go to Settings->Personalize....

  3. Select the Enable SAP GUI OK code check box.

  4. Click OK to save the changes.

You can now scan the SAP GUI OK code bar with the XScan.

Enable SAP GUI OK code check box in SAP Netweaver Business Client Settings

Steer SAP Netweaver Business Client search box

With the Module Netweaver Search Box you can steer the search box in SAP Netweaver Business Client.

You can find the Module under Standard modules->TBox XEngines->Html->SAP Netweaver Business Client.

Before you use this Module for test automation of controls in SAP Netweaver Business Client connections, you have to enable or disable Search Providers options.

In this example, you search for transaction code AB01.

Netweaver Search Box TestStep

Enable or disable Search Providers options

Depending on your current SAP Netweaver Business Client configuration, you have to enable or disable specific Search Providers options before you can use the Netweaver Search Box Module.

To do so, follow the steps below:

  1. Open an SAP Netweaver Business Client connection which you want to automate.

  2. Click the button to open the main menu.

  3. Go to Settings->Connections->Search Providers....

  1. In the subsequent dialog box, select the check boxes My Work Area and Transactions and Applications. Clear the following check boxes:

    • Favorites and Recent Items check box.

    • Desktop Search check box.

    • Other check boxes created with the New button.

Search Providers options set to steer the Netweaver Search Box Module

  1. Click OK to save the changes.