Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > Attach a file to a repor...
I am new to using Rapise. We are trying to automate testing on a desktop application. Is there a way to attach a log file from the application under test to a test report in Rapise at the end of a test or a test run in SpiraTest at the end of test execution?
Please take a look at this documentation:
Thanks for your quick response. I found this SeSReportFile already and tried to implement it in my test. But it looks like Rapise just skips over this completely. I might not be doing this correctly either.
var path = 'C:\\New Text Document.txt';
Tester.Assert("Log file copied", true, [new SeSReportFile(path, "Log file for test")]);
I tried using this in Tester.Assert and Tester.Message. Is this correct or is there another way I can use this?
Also, where does the file thus attached get stored?