TestProject Forum

Save output value to Data Source file

Hi,

I am trying to send the value to an output parameter in the Data Source file. Test ran successfully and I can see an output value in the test report but I can’t see Data Source Updated with the OUTPUT value. Please let me know how we can save values to the data source that we capture during execution.

Thanks

Hi @sharpat8

Data Sources (e.g. CSV files) on TestProject are read-only.
If you would like to output data to files, you can use add-ons such as:

Thanks, Marat! I have installed the addons but it is still not writing the output values to the file. I have created and output parameter, added the same field in the data source file. The report is showing that the output value is returned correctly but it is not writing the value to the data source file.

Thanks again,
PS

Hello.
Remember that datasources are a read only document.
You can use parameters ( output parameters or private, no matter ) and Write a new CSV file in your project. for that, you can use Addons that are available already in the testproject.
sample over here:
image
For that, i am using the CSV Operations.

Hope that helps.
Kind regards,
Victor

PS: you can also work with PROJECT parameters, if you want to propagate some values from test to test ( same config for example )

1 Like