Search our documentation:
Data-driven testing allows you to supply a set of inputs and verifiable outputs to be used within a test to quickly and easily ensure that your application performs as expected with a range of data. Ghost Inspector has a built-in option for data-driven testing that allows you to upload a CSV spreadsheet file with rows of values corresponding to variables in your test(s).
To get started, you'll want to swap one or more variables into your test step values.
For each row in the uploaded spreadsheet, a test or suite run will be triggered using those variable values. This feature is available as "Run with Spreadsheet Data..." under the "More" dropdown menu in both suites and tests.
The modal dialog presented includes formatting instructions for the CSV spreadsheet and allows you to upload the file. The first row should contain the variable names. Each row after the first represents a set of data to be used in your test(s) with values corresponding to the variable for that column. We currently allow a maximum of 100 data rows.
After uploading your file, you'll be shown a summary of the data that will be used in your test runs.
Once submitted, the test or suite runs will be triggered with the data provided.