Data-driven testing is creation of test scripts where test data and/or output values are read from data files instead of using the same hard-coded values each time the test runs. This way, testers can test how the application handles various inputs effectively. It can be any of the below data files.
Datapools
Excel files
ADO objects
CSV files
ODBC sources
Data Driven Testing can be best understood by the following diagram: