When validating flat files, one of the frequent question is about how to use the run the same test case for different flat files without the having to change the test case. This can be achieved by using parameters. 


Lets say, we have a sample file called 'Custmers.csv' that we want to use to define the Flat File component to start with. We can create a parameter (eg. Customer_File) and then use it in the Flat File component as shown below.
  •  Create a parameter for the file name as shown below. You can name the parameter


  • Use the parameter when creating a flat file component as shown below


The parameter value can be changed either from the ETL Validator Client in the Parameters screen or by setting it using the REST API or ETL Validator CLI tool.