python+requesets+ddt+unittest
点击data包右键,new ,show in explorer 显示data路径,在路径中新建一个data.xlsx 文件。然后在新建utils 包下得 handle_excel.py 包,用来它用于读取和写入Excel电子表格。那我们接下来要写其他得用例,可以在testcase包中添加 test_updateloginpwd.py。在utils 中新建 公共登录方法: handle_login.py。在utils中新建一个handle_requests.py文件。在查看report 报告中是否生成报告。
原创
2024-04-22 11:02:45 ·
878 阅读 ·
0 评论