Create an SAP API test step
Relevant for: API testing only
This topic describes how to create an SAP API test step.
Prerequisite
You must have the SAP .NET Connector installed on your machine. The installation is available on the SAP Help portal.
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.
Select an iDoc from your SAP server
-
Select Tools > Import from SAP.
-
In the SAP dialog box, select one of the connections that you added in the SAP Connections pane of the Options dialog box.
-
(Optional) Accept the default credentials entered in the SAP Connections pane or click Override connection to provide different credentials.
-
Select IDoc or RFC and specify a search string using an asterisk (*).
-
Click Search.
-
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.
-
If an unexpected error occurs during the search, install the latest supported version of SAP .NET Connector. See Support Matrix.
-