How do I erase prior values in field so new data in script does not add to them

When running a test with values to input into a field, how do I erase the current values displayed so that the values in my test do not add onto the existing values. In my test we display values from the db

I don’t know your whole requirement, but gathering from your question, I guess, you can try with data source method. Like, you can upload a CSV file with all your data, and then when you run the test, you can select override input parameters, and select data source you uploaded before.

Hope that helps.