Generating the test data by using multiple schemas
You can generate the test data either by using multiple JDBC-supported or non-JDBC schemas.
Before you begin
- Logged into HCL OneTest™ Server.
- Installed any JDBC-supported database, such as Oracle, MySQL, and so on, for generating the test data from JDBC-supported schemas.
About this task
You can generate the test data for multiple schemas simultaneously. To generate the test data you can either use only JDBC-supported schemas or non-JDBC schemas.
To generate the test data by using multiple JDBC-supported schemas, you must create tables in a database that are supported by the JDBC connection. After you establish the JDBC connection between the database and HCL® OneTest™ Data, you must generate multiple schemas. You can then import the selected schemas into the Schema Canvas page. After you import the schemas into the Schema Canvas page, you can view an existing parent-child relationship. You must select a single schema or multiple schemas for which you want to generate the test data, and then generate the test data.
To generate the test data by using multiple non-JDBC schemas, you must create a schema in HCL® OneTest™ Data. You must then define the properties and structural view of the schemas. When the schemas are created, you can import the selected schemas into the Schema Canvas page. After you import the schemas into the Schema Canvas page, you can view an existing parent-child relationship or establish a relationship among the schemas. You must select the schemas, and then generate the test data.
- When you generate the test data by using multiple schemas, you must select either JDBC-supported or non-JDBC schemas.
- When you select a child schema on the Schema Canvas page, the parent schema is automatically selected. Similarly, if you select a parent schema, then all the child schemas are selected on the Schema Canvas page.
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.
-
Choose any one of the following types of schemas that you want to use to
generate the test data:
- JDBCYou must perform the following tasks to generate the test data in HCL® OneTest™ Data for multiple JDBC-supported schemas:
- Non-JDBC
You must perform the following tasks to generate the test data in HCL® OneTest™ Data for multiple non-JDBC schemas:
- JDBC