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
- Log in to HCL OneTest™ Server and open the team space that contains your project.
-
Open your project.
The Overview page is displayed.
-
Click
. The Data Fabrication page is displayed.
- Click Connections.
-
Select the SAP BAPI connection name that you established, and then click
New Action from the menu.
The New Action dialog is displayed.
- Select Target as the action type, and then click Next.
-
Enter the following properties for the new action:
- Click Fetch to select the function module category from the BAPI Function Module category drop-down list.
- Click Fetch to select the function module of the selected function module category from the BAPI Function Module drop-down list.
- Click Next.
-
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. - Click Next, and then provide the identification details of the new action.
-
Click OK.
The new action is created and is listed under the SAP BAPI connection.
Results
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.