Closed mi-haque closed 7 years ago
what do you mean screenshots?
Let's say we are running selenium test suites, if we are going with headless execution or so, screenshots will be an effective method to debug the failed scripts. We can capture the screenshots through the test code. But the problem is every time user may need to access a different folder in order to see it. So if we can add the captured screenshots as a part of test case result, it would be great
if you created the report yourself you can do this pretty easily. this supports rendering HTML in a message. Something like <testcase message="failing screen shot <img src='image_locaton' />" />
should do the trick. Junit Viewer supports rendering HTML which is inside a message so you can put anything you want to in there and it will render it to the page
Yeah..If that is the case, then It would be great. I will get back to you soon. Anyway thanks for the help
On 23 March 2017 at 16:05, Luke Preston notifications@github.com wrote:
if you created the report yourself you can do this pretty easily. this supports rendering HTML in a message. Something like <testcase message="failing screen shot " /> should do the trick. Junit Viewer supports rendering HTML which is inside a message so you can put anything you want to in there and it will render it to the page
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lukejpreston/junit_viewer/issues/38#issuecomment-288678804, or mute the thread https://github.com/notifications/unsubscribe-auth/AYHsd0e0rGcW16JAnxeEr6qhvt0FsKtsks5rokrfgaJpZM4MjdTW .
-- Mohammed Irshadul Haque, QA Engineer Enterprise Team, Bangalore +91 9958787141 | mohammed.haque@news.co.uk
--
--
"Please consider the environment before printing this e-mail"
Newsworks - bringing advertisers and newsbrands together
www.newsworks.org.uk
This e-mail and any attachments are confidential, may be
legally privileged and are the property of News Corp UK & Ireland
Limited on whose systems they were generated. News Corp UK
& Ireland Limited is the holding company for the News UK group,
is registered in England & Wales under number 81701, has its
registered office at 1 London Bridge Street, London, SE1 9GF and
is registered with VAT number GB 243 8054 69. If you have received
this e-mail in error, please notify the sender immediately and do not
use, distribute, store or copy it in any way. Statements or opinions in
this e-mail or any attachment are those of the author and are not necessarily agreed or authorised by News Corp UK & Ireland Limited
or any member of its group. News Corp UK & Ireland Limited may
monitor outgoing or incoming emails as permitted by law. It accepts no liability for viruses introduced by this e-mail or attachments.
News Corp UK & Ireland Limited and its titles are committed to abiding by IPSO's regulations and the Editors' Code of Practice that IPSO enforces.
this project is now deprecated, please see https://github.com/lukejpreston/xunit-viewer which supports the same features
can we add screenshot links into the report. It would be a great help if the user sees the screenshots for the failed results.