偶然路过的靓仔-胡阳

为中华之崛起而读书!中国加油! 问题不能及时回答,有需要的话加微信:921308494

   ::  ::  ::  ::  :: 管理
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页

2019年12月1日

摘要: git下载地址: https://github.com/appium/appium-desktop/releases/tag/v1.13.0 下载好之后,双击exe文件,傻瓜式安装, 当然appium也可以用命令行,看你自己的公司来 阅读全文
posted @ 2019-12-01 18:27 偶然路过的靓仔-胡阳 阅读(215) 评论(0) 推荐(0)

摘要: 一原理 二流程 一原理 appium用途? selenium一样是开源工具 适用于ios和Android的原生应用、及嵌入网页的混合应用。 主流的移动端测试工具 appium自动化原理? 监听4723端口,客户端向服务端发送请求,服务端把请求转换成机器可识别的命令,通过API接口发送给移动端,移动端 阅读全文
posted @ 2019-12-01 18:26 偶然路过的靓仔-胡阳 阅读(239) 评论(0) 推荐(0)

摘要: 以管理员身份运行cmd 然后再执行pip的更新命令或者其他命令 阅读全文
posted @ 2019-12-01 18:03 偶然路过的靓仔-胡阳 阅读(258) 评论(0) 推荐(0)

摘要: 如何集成python,selenium,unittest/pytest,github,jenkins,示意图: 1.在测试服务器上搭建jenkins 2.在测试服务器上搭建一套selenium可执行环境 3.构建自由风格项目,输入shell命令(或者定期什么时候执行) 4.开发在测试服务器上构建的时 阅读全文
posted @ 2019-12-01 18:00 偶然路过的靓仔-胡阳 阅读(382) 评论(0) 推荐(0)

摘要: 问题:conftest好像不能再unittest框架里面执行,会报错无法找到contest里面fixture标记的函数 目前我的解决方式是:完全抛弃unittest 按理来说unittest是python自带的测试库,pytest可以用于执行unittest,一个测试环境里面可以同时执行pytest 阅读全文
posted @ 2019-12-01 17:44 偶然路过的靓仔-胡阳 阅读(604) 评论(0) 推荐(0)

摘要: 偷懒,每次输入pytest ********太多了怎么办? 在pytest.ini文件中配置addopts addopts = -q --tb=line --reruns 1 --html=report_name.html 解释一下: -q: 输入简要信息, --tb=line:信息回溯只有一行 - 阅读全文
posted @ 2019-12-01 17:43 偶然路过的靓仔-胡阳 阅读(1360) 评论(0) 推荐(0)

摘要: pip install pytest-html 安装插件 命令行执行: pytest --html=report_name.html (report_name是存放路径及名称) 报告样式: @william胡阳 阅读全文
posted @ 2019-12-01 17:41 偶然路过的靓仔-胡阳 阅读(158) 评论(0) 推荐(0)

摘要: pip install pytest-repeat 安装插件 再所要执行的用例上添加装饰器 @pytest.mark.repeat(10) 阅读全文
posted @ 2019-12-01 17:40 偶然路过的靓仔-胡阳 阅读(221) 评论(0) 推荐(0)

摘要: 单个参数: @pytest.mark.parametrize('a', [0,1,2,3,4,5]) 多个参数:多个解释器 @pytest.mark.parametrize('a', [0,1,2,3,4,5]) @pytest.mark.parametrize('b', [A,B,C,D,E]) 阅读全文
posted @ 2019-12-01 17:40 偶然路过的靓仔-胡阳 阅读(388) 评论(0) 推荐(0)

摘要: conftest中一般放置前置条件,比如登录等 1.在case目录下(有__init__.py文件),新建conftest.py文件 @wiiliam胡阳 2.在用例中添加 @william胡阳 阅读全文
posted @ 2019-12-01 17:39 偶然路过的靓仔-胡阳 阅读(424) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页