Importing schemas into the Schema Canvas page
When you want to generate the test data or the Data Definition Language (DDL) statements by using single or multiple schemas, you must import schemas into the Schema Canvas page. You can import multiple schemas simultaneously.
Before you begin
You must have fabricated schemas in HCL® OneTest™ Data.
About this task
To import the schemas, you must select the type of schemas that you want to import. You can import either the JDBC-supported schemas or non-JDBC schemas into the Schema Canvas page. You can view the list of schemas under the Schemas tab of the Canvas Settings dialog box. Under the Groups tab, you can view the list of all the group types of the schemas. You can also enter the text in the Search field to find the schemas or the group types that match with the characters of the search text.
The schemas or the group types that you select to import are listed under the Selected Schemas panel.
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 Schema Canvas to select the schemas.
The Canvas Settings dialog box is displayed.
-
Select any one of the following options in the Canvas
Settings dialog box to display the list of schemas:
- JDBC: When you select JDBC, you can view only the list of JDBC-supported schemas. To import the JDBC schemas, go to Step 4.
- Non-JDBC: When you select Non-JDBC, you can view only the list of non-JDBC schemas. To import the non-JDBC schemas, go to Step 5.
-
For JDBC schemas: Select a schema by using any one of
the following methods:
- Use the Database tab:
- Click the Database tab.
- Select a schema.
The group types within the selected schemas are selected.
Notes:- You can also search for the schema by entering the name of the schema in the Search field.
- Each JDBC schema includes only one group type.
- The group types are selected automatically with the selection of schemas.
- Use the Table tab:
- Click the Table tab.
- Select the group type.
The group types along with their schemas are selected.
Note: You can find only one group type in JDBC schemas.
The selected schemas are displayed in the Selected Schemas panel.Notes:- If you select a child schema, then the parent schema is selected automatically.
- If you select a child group, then the parent group of parent schema is selected automatically.
- If you clear the selection of any group type of schema, then you can view the updated list of the selected schemas in the Selected Schemas panel.
- Use the Database tab:
-
For Non-JDBC schemas: Select a schema by using any one
of the following methods:
- Use the Schema tab:
- Click the Schema tab.
- Select a schema.
The group types within the selected schema are displayed.
Note: You can also search for the schema by entering the name of the schema in the Search field. - Select the group types of the selected schema that you want to
import.Note: You can select multiple group types from a single schema.
- Use the Group tab:
- Click the Group tab.
- Select the group types that you want to import.
The group types along with their schemas are selected.
The selected schemas are displayed in the Selected Schemas panel.Notes:- If you select a child schema, then the parent schema is selected automatically.
- If you select a child group, then the parent group of the parent schema is selected automatically.
- If you clear the selection of any group type of schema, then you can view the updated list of the selected schemas in the Selected Schemas panel.
- Use the Schema tab:
-
Click Set Canvas.
The selected schemas are imported into the Schema Canvas page.Note: If you select multiple group types from the same schema and import that schema into the Schema Canvas page, then the structure of each group is represented separately on the Schema Canvas page.
Results
What to do next
You can also establish a new parent-child relationship among non-JDBC schemas. See Establishing a parent-child relationship among schemas.
After you import schemas into the Schema Canvas page, if you want to modify or remove the selection of schemas, then you must click the Modify canvas button on the Schema Canvas page. See Modifying the selection of imported schemas.