会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
newFile
a bird
2021年4月16日
pytest:allure使用
摘要: 1.pip install allure-pytest 2.执行时pytest xx.py --alluredir ./reportdir,会在该目录下生产reportdir文件夹存储测试报告 3.转化测试报告:allure server report
阅读全文
posted @ 2021-04-16 17:09 _titleInfo
阅读(68)
评论(0)
推荐(0)
pytest执行时提示找不到另一个文件的类
摘要: 在命令行执行:pytest xx.py ,提示找不到另一个文件yy里的包 解决办法:在xx.py导包前加上以下两句: import sys from os.path import dirname sys.path.append(dirname(dirname(__file__)))
阅读全文
posted @ 2021-04-16 17:08 _titleInfo
阅读(379)
评论(0)
推荐(0)
python_selenium:xptah高级使用
摘要: 1.使用多个条件组合查询://*/div[@class='' and @id = ''] 2.使用container包含://*/span[contains(@class,'xxxxxxxxxxxxx') and @title=''] 解释:span标签的class包含了"xxxxxxxxxxx"则
阅读全文
posted @ 2021-04-16 11:37 _titleInfo
阅读(141)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
新文章
联系
订阅
管理