I am writing the output of my TestCafe to file. I was wondering if it can be a dynamic path like a screenshot path.
I tried using something like the values listed here, but I think this is only for screenshots and videos.
Here is what works, but is just not dynamic:
testcafe chrome test.testcafe -r json:report.json
Here is what I would like to do:
testcafe chrome test.testcafe -r json:T:\Logs\ -p ${DATE}/${TIME}/${FIXTURE}/${TEST}/${FILE_INDEX}.json
EDIT 1: Should have said this, but I am using TestCafe Studio. I can use the built-in Function action, but I'm stuck with the limited functionality of Studio.