Python 通过邮件发送测试报告 示例

项目目录结构如下:


StarEnd.py:


affiliate_login.py:


test_affiliatelogin.py:


send_newreport.py:





RunTest.py:



运行后测试结果保存在当前项目目录的Test_Report目录下:




并且测试结果会通过指定发送者邮箱发送到指定收件者邮箱:


猜你喜欢

转载自blog.csdn.net/florachy/article/details/80253846
今日推荐