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. Log in to HCL OneTest Server and open the team space that contains your project.
  2. Open your project.
    The Overview page is displayed.
  3. Click Author > Data Fabrication.
    The Data Fabrication page is displayed.
  4. Click Connections.
  5. Select the SAP IDoc connection name that you established, and then click New Action from the menu.

    The New Action dialog box is displayed.

  6. Select Target as the action type, and then click Next.
  7. 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.
  8. Click Next.
  9. 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>.

  10. Select Schema type.
  11. Click Next.
  12. 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.
  13. 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.