08 2019 档案

摘要:通过jenkins.pkg程序安装 1.修改环境配置 编辑 vi ~/.bash_profile,添加命令别名: alias jk_start="sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist"#启动Jenkins al 阅读全文
posted @ 2019-08-20 21:04 GSY921 阅读(661) 评论(0) 推荐(0)
摘要:添加插件:记录一下 https://testerhome.com/topics/16074 webview操作: https://testerhome.com/topics/12599 阅读全文
posted @ 2019-08-17 20:06 GSY921 阅读(194) 评论(0) 推荐(0)
摘要:添加到右键菜单,很方便。 做个记录:请移步原文 阅读全文
posted @ 2019-08-17 19:50 GSY921 阅读(421) 评论(0) 推荐(0)
摘要:参考Allure官方文档,pytest官方文档 实现setup/teardown 1.运行带指定标记的测试 @pytest.mark.tags ,这里的tags可以自定义 命令行执行:pytest -v -m 'tags' 2.跳过指定的测试 3.跳过指定的模块 实际测试时,当 @pytest.im 阅读全文
posted @ 2019-08-17 17:59 GSY921 阅读(890) 评论(0) 推荐(0)
摘要:pytest 参数 1.参数:-s 运行过程中执行print打印函数:pytest -s,以下两个输出 上边带参数,下边不带 2.参数: --collect-only 收集将要执行的用例,但不会执行用例:pytest --collcet-onty 3.参数:-k args(关键字args:可以是py 阅读全文
posted @ 2019-08-17 16:44 GSY921 阅读(6183) 评论(0) 推荐(1)
摘要:因为最新的pytest 支持*.josn的用例报告,卸载旧的模块使用新的即可: 需要移除旧模块:pip uninstall pytest-allure-adaptor, 并安装:pip install allure-pytest,并把pytest升到最新:pip install -U pytest 阅读全文
posted @ 2019-08-16 21:42 GSY921 阅读(480) 评论(0) 推荐(0)
摘要:一、升级Powershell(windows7及以上版本默认自带、其实普通的CMD命令行工具够用了) 我是Win7默认带的pw1.0,太古老了升级一下,地址如下,选择与自己windows版本匹配的连接下载: https://docs.microsoft.com/zh-cn/powershell/sc 阅读全文
posted @ 2019-08-16 17:23 GSY921 阅读(611) 评论(0) 推荐(0)
摘要:Git-atx2官网地址,默认已有python3环境 1.安装rethinkdb 安装db:mac上安装很简单,执行brew install rethinkdb 启动db:nohup rethinkdb & 2.安装atx-server 下载atx2项目文件到本地:git clone https:/ 阅读全文
posted @ 2019-08-12 15:32 GSY921 阅读(696) 评论(0) 推荐(0)
摘要:安装过程(开源官方:https://github.com/openstf/stf) 基本工具准备brew,nvm 1.安装依赖库(jdk8官网下载直接安装即可) brew install graphicsmagick zeromq protobuf yasm pkg-config cmake ret 阅读全文
posted @ 2019-08-11 21:06 GSY921 阅读(606) 评论(0) 推荐(0)
摘要:原文请参考,很详细:hao1032/adbui 非常详细,感谢整理!!首先了解下 adb命令大全,adb最全的命令 阅读全文
posted @ 2019-08-05 18:49 GSY921 阅读(990) 评论(0) 推荐(0)
摘要:1.UI对象识别器Selector 用法d(text='Clock', className='android.widget.TextView') 支持以下参数,详细信息可参考UiSelector Java doc text, textContains, textMatches, textStarts 阅读全文
posted @ 2019-08-01 21:18 GSY921 阅读(7680) 评论(1) 推荐(1)
摘要:1.设备屏幕事件 熄灭屏幕d.screen_off() 唤醒屏幕d.screen_on() 屏蔽状态d.info.get('screenOn')#返回True or False 解锁屏幕d.unlock()#安卓7.0试了可以,安卓9.0就不行了,实际行为是 1.启动activity: com.gi 阅读全文
posted @ 2019-08-01 16:48 GSY921 阅读(4842) 评论(0) 推荐(0)