How to send an email of allure report?

℡╲_俬逩灬. 提交于 2019-12-12 07:28:53

问题


I am trying to send an email of the allure report generated by the framework using selenium. I have read the documentation but could not find any answer on how to send email. Could any one please point me to the correct direction.

Thanks, Sudheer


回答1:


In case you only need to send the report summary - it is not possible yet. Here you can find the ticket for such feature.




回答2:


Allure generates a collection of files, that ought to be viewed via a web server. This due to the browsers restrictions on reading files from disk. This is needed to view Allure report correctly.

So in my mind you should post the result of Allure on a web server and the email the link to the report. As a side note, sending multi-megabyte email attachments with embedded JavaScript is rarely a good approach.



来源:https://stackoverflow.com/questions/41960081/how-to-send-an-email-of-allure-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!