Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > Attach a file to a repor...
Hi,
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?
Thanks
Divya
Hi Divya,
Please take a look at this documentation:
https://rapisedoc.inflectra.com/Libraries/SeSReportFile/
Regards
David
Hi David,
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?
Thanks!
And if you have any questions, please email or call us at +1 (202) 558-6885