Open croesch opened 10 years ago
Comment by alexruiz from Sun, 1 Mar 2009 20:19:34 -0600
I don't think there is a solution for this issue. I haven't found a way to specify the correct path in the e-mailable report. By looking at TestNG's code, EmailableReporter is just another implementation of IReporter. It isn't treated as a special case, therefore there I haven't found a way into hooking into the reporting mechanism, other than using the generic Reporter.
Another alternative is to automatically copy the images to the same folder where the e-mailable report is. I don't like this approach because it duplicates the image files and can potentially occupy a considerable amount of disk space (depending on the number and size of the images.)
I'm inclined to close this issue as "Won't Fix". But I'm just going to leave it open to revisit it later. This issue won't make it to the "Tirane" release (Swing module 1.1).
Issue by Alex Ruiz from Sun, 1 Mar 2009 20:18:59 -0600 Originally opened as http://jira.codehaus.org/browse/FEST-6
Reported by vnguyen.sqa, Dec 19, 2008
What is the expected output? What do you see instead?
Screenshot listener saves image in '<testng-output-dir> / <suite-name> / image.png'. Emailable-report.html is in '<tesng-output-dir>' and expects image.png in the same directory.
What version of the product are you using? On what operating system?
fest-swing-ng-1.0b1
testng-5.8
Original report: Google Code (issue 267)
votes (original issue): 0 watches (original issue): 0