Output file name accessing in suite teardown

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.

Possibly this is what you’re looking for:
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.

1 Like

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

1 Like