Test data sources

You can configure test data sources that can drive a test template or a test by using several different instances of data. In this way, you can parameterize your tests, substituting specific data from a pre-configured source in different test iterations. You can also use test data to validate the results that are returned by different test actions.

For example, you can perform a function (for example, add) on two columns of data from a database or Microsoft Excel spreadsheet, then validate the function results against a third column of data in the data source.

HCL OneTest™ API supports four different test data types (database, directory, file, and Microsoft Excel).

If the test data source location is on a mapped network drive, you might get errors when running tests. To prevent any errors, ensure that the files are available on a local drive that can be accessed by HCL OneTest API.

Feedback