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
Procedure
- Select your project in HCL OneTest™ Server and navigate to the Data Fabrication page.
- Click Connections.
-
Select the SAP IDoc connection name that you established, and then click
New Action from the menu.
The New Action dialog box is displayed.
- Select Target as the action type, and then click Next.
-
Enter the following properties for the new action:
- 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
- Select the imported SAP IDoc or SAP DXOB file name from the IDoc or DXOB File drop-down list.
- Select Native from the Character set drop-down list.
- Select one of the following file types from the Data record type
drop-down list.
- Click Next.
-
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>.
- Select Schema type.
- Click Next.
-
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.
- Click Save.
Results
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.