今天完成了Pyhon UI自动化框架的最后一个环节,就是把测试报告通过邮件发送出去
(1)设置邮件的配置文件

(2)读取配置

(3)发送邮件的具体函数

(4)在打印报告的地方调用该函数

邮件发送成功

今天完成了Pyhon UI自动化框架的最后一个环节,就是把测试报告通过邮件发送出去
(1)设置邮件的配置文件
(2)读取配置
(3)发送邮件的具体函数
(4)在打印报告的地方调用该函数
邮件发送成功
本文标题:Python自动发送测试报告的邮件
本文链接:https://www.haomeiwen.com/subject/kqtsmftx.html
网友评论