Refresh Data File On Execution

Hello,
I have a data file that reads a csv document.

My plan is to update the csv before test execution when in a pipeline so that the data is always the latest version.

When I create a datafile, I specify the path to the file and it creates a .dat file.

I am wondering if the .dat file reads the source csv every time a test suite runs or does it remain static? I would like it to update each time if that is possible?

I don’t know, but here are a few ways to help prove it…

Rename the .dat file - does the test complain? Or, rename what the test is looking for. Or, if you can make a change to the dat file BEFORE the test encounters it…

The all have the same effect, proving it’s reading the live instance.

Hope that helps.