Create an SAP API test step

Relevant for: API testing only

Prerequisite

You must have the SAP .NET Connector installed on your machine. The installation is available on the SAP Help portal, at http://help.sap.com/saphelp_NW04/helpdata/en/e9/23c80d66d08c4c8c044a3ea11ca90f/content.htm.

Back to top

Define an SAP Connection

In the SAP Connections pane of the Options dialog box Tools > Options > API Testing tab > SAP Connections define one or more SAP connections.

Back to top

Select an iDoc from your SAP server

  1. Select Tools > Import from SAP.

  2. In the SAP dialog box, select one of the connections that you added in the SAP Connections pane of the Options dialog box.

  3. (Optional) Accept the default credentials entered in the SAP Connections pane or click Override connection to provide different credentials.

  4. Select IDoc or RFC and specify a search string using an asterisk (*).

  5. Click Search.

  6. After the search is completed, select the necessary items and then click Import Selected.

    These items are added in the Toolbox pane, to the Local Activities node, with a separate node for SAP. You can now add them to the test as individual steps.

    Note: If you use an SAP router, ensure you specify the Connection Info property values for each iDoc step.

Back to top