Generating schema by using an SAP IDoc or DXOB file

When you want to generate the test data for an SAP IDoc or DXOB file, then you must generate a schema for the selected SAP IDoc or DXOB file.

Before you begin

You must have established the connection with the SAP IDoc or DXOB interface.

Procedure

  1. Select your project in HCL OneTest Server and navigate to the Data Fabrication page.
  2. Click Connections.
  3. Select the SAP IDoc connection name that you established, and then click New Action from the menu.

    The New Action dialog box is displayed.

  4. Select Target as the action type, and then click Next.
  5. Enter the following properties for the new action:
    1. Select one of the following file types from the Data record type drop-down list.
      • ALE - 1000 byte segments (ALE/RFC port)
      • EDI - Segments terminated by line feed (file port)
      • DXOB - Data Transfer Object
    2. Select the imported SAP IDoc or SAP DXOB file name from the IDoc or DXOB File drop-down list.
    3. Select Native from the Character set drop-down list.
  6. Click Next.
  7. Click Generate to generate a new schema by using the imported SAP IDoc or SAP DXOB file.

    A schema is generated as anonymous_schema_<number>.

  8. Select Schema type.
  9. Click Next.
  10. Provide the name to the new action, and then click OK.
    The new action is created and listed under the SAP IDoc or DXOB connection name that you established.
    Note: You can create multiple actions for each established connection.
  11. Click Save.

Results

You have successfully generated a schema for the SAP IDoc or DXOB file in HCL OneTest Data.
Note: You can modify the schema name anonymous_schema_<number> from the Schemas tab.

What to do next

You can generate the test data by using the generated schema. See Generating test data.