Export messages to Test Automation for SAP Commander

You can export API Scan messages to Test Automation for SAP Commander. This allows you to create API TestCases. Once you have exported the messages, you can use them to run your tests.

You can export the following items from API Scan:

Change export behavior

By default, API Scan exports selected objects to a new ComponentFolder in Test Automation for SAP Commander.

You can, however, change the export behavior in the following ways:

  • Select a specific ComponentFolder in Test Automation for SAP Commander before you export from API Scan. In this case, API Scan doesn't create a new ComponentFolder, but exports all objects to the ComponentFolder you selected.

  • In API Scan, select Export to Component Folders (see step 3 below). This creates a structure of multiple ComponentFolders in Test Automation for SAP Commander, similar to the API Scan project tree structure.

Export to Test Automation for SAP Commander

To export messages to Test Automation for SAP Commander, follow the steps below:

  1. In the API Scan window, select the object(s) in the project tree that you want to export.

  2. In Test Automation for SAP Commander, select the ComponentFolder into which you want to export your objects. If you don't select a folder, API Scan creates a new ComponentFolder.

  3. In the API Scan window, click the API TestCase button or select one of the following options from its drop-down menu:

    • API TestCase. Optionally, select Export or Export to Component Folders from the drop-down menu.

Export options in API Scan

Tricentis Test Automation for SAP automatically creates all Modules and TestCases for your messages in Test Automation for SAP Commander.

If you use the API Scan standalone version, Tricentis Test Automation for SAP creates a separate subset of your exported objects. You can specify the path and name of the subset in the subsequent dialog.