HCL OneTest Data support to write the generated test data in JDBC-supported databases
When you want the generated test data in any Java Database Connectivity (JDBC) supported database, you can generate the test data by using HCL® OneTest™ Data. Subsequently, HCL OneTest Data inserts the generated test data directly in the configured JDBC-supported database.
To enable HCL® OneTest™ Data to write the generated test data in the database, you must create a sample schema with tables in the installed JDBC-supported database, establish a connection with the installed database, select the generated schema in HCL® OneTest™ Data, and then generate the test data of the selected schema.
- MySQL Server
- Microsoft SQL Server
- IBM DB2
- INTEGER
- VARCHAR
- CHAR
- DATETIME
- DATE
- TIME
- BOOLEANNote: You must add the restriction values for BOOLEAN data type as 0 and 1.
Prerequisites
- You must have access to HCL OneTest™ Server.
- You must have installed any JDBC-supported database, such as MySQL, Microsoft SQL Server, and so on.
Task flow
You must perform the following tasks in sequence to enable HCL OneTest Data to write the generated test data directly in the JDBC-supported database. The table also provides you the links to the information about the tasks.
Task | More Information |
---|---|
Create a sample schema in a database | |
Establish a JDBC connection with HCL OneTest Data | |
Generate a schema in HCL OneTest Data | |
Insert the generated test data in the database |