Defining properties of schemas
After you generate the schema from the configured database in HCL® OneTest™ Data, you must define the required properties for all schemas.
Before you begin
You must have completed the following tasks:
- Created a project.
- Generated schemas in HCL® OneTest™ Data by using a JDBC connection. See Generating 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.
-
Select the generated schema from the Schemas tab.
For example, schema_<number>
-
Click the Menu icon of the group type of the schema and select
Structure.
You can view the list of all item types associated with the selected group type in the structural view of the schema.
-
Click the Menu icon of all item types in the Structure dialog
box to set the following properties:
Note: The values of both the Min size (digits) and Max size (digits) properties for item types that act as a primary key and foreign key must be the same.
-
Save the changes.
You must repeat steps 2 through step 5 to set the properties for all schemas.
Results
You have defined the properties for all schemas.
What to do next
You can click Schema Integrity to select the defined and structured schemas that you want to use to generate the test data. See Selecting multiple schemas.