Generating a schema in HCL OneTest Data

After you establish the connection between HCL OneTest Data and an SAP BAPI, you can generate a schema in HCL OneTest Data.

Procedure

  1. Select your project in HCL OneTest Server and navigate to the Data Fabrication page.
  2. Click Connections.
  3. Select the SAP BAPI 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. Click Fetch to select the function module category from the BAPI Function Module category drop-down list.
    2. Click Fetch to select the function module of the selected function module category from the BAPI Function Module drop-down list.
  6. Click Next.
  7. Select New, and then click Generate to generate a new schema in HCL OneTest Data.

    The schema with a name as schema_<number> is generated in HCL OneTest Data.

    The Schema Type is populated automatically based on the selected BAPI function module.
    Note: You must select this schema name as the schema for HCL OneTest Data to generate the test data.
  8. Click Next, and then provide the identification details of the new action.
  9. Click OK.

    The new action is created and is listed under the SAP BAPI connection.

Results

You have successfully generated a schema for SAP BAPI in HCL OneTest Data.
Note: You can modify the schema name 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.