data driven testing
Data-Driven Tests is a procedure when you repeat the same scenario with different input parameters and then verify the result with the given output values.
Test data is always an important part of automated tests. Test data is not just the value or the text in the application, but it's about the whole environment that we are testing.
We usually use hard-coded data in the data that we are editing in our test script, like username password, or URL.
For example, if we have different testing environments with different URLs, we need to add these URLs in one file and read the correct data from the file.
But if we add it and decide in this case, it will be hardcoded, they can't be configurable.
Another example - if we have a registration form and they need to test this form for positive and negative scenarios, we need to prepare different sets of data for this case, to be able to provide the application behavior.