Generation of test data
You can use the data fabrication feature in HCL OneTest™ Server to create realistic datasets for comprehensive testing scenarios. You can generate the test data as the Comma-Separated Values (CSV) files that is saved in your system. You can then use these files to replace any existing datasets in a test during the run time. If a dataset is already associated with a test, you can replace the dataset at runtime with the dataset that is created from the data fabrication feature of HCL OneTest™ Server. This allows you to integrate the generated test data into your test execution process, and you can ensure that your tests are performed with the secure and realistic data.
- Generation of data from a Data definition
- Generation of data from history of a Data definition
Generation of data from a Data definition
Data definitions are fundamental building blocks that are used to define data structures and generate test data. You can create Data definitions and specify the characteristics of the data that you need for your testing scenarios. You can choose from the in-built data generators, configure new generators, define rules, and set restrictions and distribution for the Data definitions. You can then use the Data definitions to generate synthetic test data that closely resembles real-world scenarios.
Also, the data distribution in a generated test data closely aligns with the configured weightage that you provide in the Distribution field of the generator. Therefore, the accuracy of the test data improves as more number of records are generated. See Basic generators.
Generation of data from history of a Data definition
When you open a Data definition in HCL OneTest™ Server, you can view the history of the Data definition. You can view the historical details of all the previously generated test data for the Data definition. You can use this feature of Data fabrication to regenerate a test data for testing purposes.