摘要: 1:pytest的conftest文件的编写 阅读全文
posted @ 2019-09-19 14:01 Be_your_own_hero 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 1:附上部分test_page包 阅读全文
posted @ 2019-09-19 13:56 Be_your_own_hero 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 1:附上test_locator包的部分代码(个人觉的locator封装不一定要全部locator包,有些以元素定位表达式驱动用例的部分可以把元素定位放进test_page包) 阅读全文
posted @ 2019-09-19 13:54 Be_your_own_hero 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1:先看看整个项目结构 2:commom(公共类封装) 2.1 路径处理封装 2.2 配置文件读取封装 2.3 日志处理封装 2.4 basepage(重用元素操作封装) 阅读全文
posted @ 2019-09-19 13:45 Be_your_own_hero 阅读(370) 评论(0) 推荐(0) 编辑