# Output file name accessing in suite teardown

**URL:** <https://forum.robotframework.org/t/output-file-name-accessing-in-suite-teardown/5447>\
**Category:** Robot Framework\
**Created:** [16 March 2023 07:06 UTC](https://forum.robotframework.org/t/output-file-name-accessing-in-suite-teardown/5447 "2023-03-16T07:06:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![niranjan13](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@niranjan13](https://forum.robotframework.org/u/niranjan13)\
**Post date:** [16 March 2023 07:06 UTC](https://forum.robotframework.org/t/output-file-name-accessing-in-suite-teardown/5447/1 "2023-03-16T07:06:22Z")

</div>

Hi all, i have been using below cmd from ride for execution.  
-v LABEL:ERIC -v ENVIRONMENT:SIT -v TRACE:N --outputdir ./RobotLogs/Temp --timestampoutput --log SITLog.html --report SITReport.html --logtitle SIT

– timestampoutput , this will extend the output file with timestamp. Now how would i get the file name in suite teardown. I want to store output file name into variable , based on my buisness requirements.

some one please suggest.

---

<div class="post-metadata">

**Author:** ![\_daryl](https://avatars.discourse-cdn.com/v4/letter/_/45deac/32.png) [@\_daryl](https://forum.robotframework.org/u/_daryl)\
**Post date:** [16 March 2023 10:56 UTC](https://forum.robotframework.org/t/output-file-name-accessing-in-suite-teardown/5447/2 "2023-03-16T10:56:47Z")

</div>

Possibly this is what you’re looking for:  
[https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-321](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-321)

Possibly the ${OUTPUT FILE} variable, see the available column to and paragraph above the table for clarity on where these can be used.

Thanks.

---

<div class="post-metadata">

**Author:** ![niranjan13](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@niranjan13](https://forum.robotframework.org/u/niranjan13)\
**Post date:** [16 March 2023 11:22 UTC](https://forum.robotframework.org/t/output-file-name-accessing-in-suite-teardown/5447/3 "2023-03-16T11:22:18Z")

</div>

Thanks @_daryl  
${OUTPUT FILE} it helped me.
