# Export test result to a file

**URL:** <https://community.postman.com/t/export-test-result-to-a-file/17730>\
**Category:** Help Hub\
**Created:** [November 16, 2020, 12:20pm UTC](https://community.postman.com/t/export-test-result-to-a-file/17730 "2020-11-16T12:20:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bpricilla](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/bpricilla/32/6511_2.png) [@bpricilla](https://community.postman.com/u/bpricilla)\
**Post date:** [November 16, 2020, 1:33pm UTC](https://community.postman.com/t/export-test-result-to-a-file/17730/2 "2020-11-16T13:33:41Z")

</div>

Hello @ereddy068 🙂

To do this action via code as you mentioned, then you would need Newman to do along. How are you running your Tests? Through collection runner or via Newman? Please share more details here.

Also please check the similar query raised and see if it helps.

> [@Save response in CSV file via newman](https://community.postman.com/t/save-response-in-csv-file-via-newman/15508/12):
>
> ahh yes, already have it like this [image] [image] also have newman-reporter-csv package inside the node\_modules

---

_[View the full topic](https://community.postman.com/t/export-test-result-to-a-file/17730)._
