摘要: import logging import time from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support.ui import Select from selenium.we 阅读全文
posted @ 2020-03-25 15:20 li7 阅读(1008) 评论(0) 推荐(0) 编辑
摘要: from httprunner.api import HttpRunner from httprunner import report ''' failfast=True 执行失败终止;False执行失败,继续执行 ''' # 创建HttpRunner对象 runner = HttpRunner(f 阅读全文
posted @ 2020-03-25 15:18 li7 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: 修改测试报告样式。适用于 httprunner 2.3.3版本 httprunner源码修改 测试报告样式修改:默认的测试报告样式不美观,变更测试报告模板 测试报告模板(新) 从网上获取新模板 extent_report_template_ch.html 第一步:进入到python包目录,\site 阅读全文
posted @ 2020-03-25 15:16 li7 阅读(1443) 评论(2) 推荐(0) 编辑