随笔分类 -  app专项测试

摘要:1.nodejs 安装国内下载 wget https://npm.taobao.org/mirrors/node/v10.1.0/node-v10.1.0-linux-x64.tar.gz 2.配置nodejs 环境变量 echo "PATH=$PATH:/usr/local/nodejs/node 阅读全文
posted @ 2020-08-31 00:07 不带R的墨菲特 阅读(256) 评论(4) 推荐(0) 编辑
摘要:1.前言关于uiautomator2: python-uiautomator2封装了谷歌自带的uiautomator2测试框架,提供便利的python接口。他允许测试人员直接在PC上编写Python的测试代码,操作手机应用,完成自动化,大大提高了自动化代码编写的效率。 工作原理 以下图片使用Wind 阅读全文
posted @ 2020-03-25 12:20 不带R的墨菲特 阅读(1562) 评论(0) 推荐(0) 编辑
摘要:普通用户好像也无伤大雅: 输入后看到这样的有个美元符号,说明你的虚拟机获取不了权限,有权限的应该是root和#都有,这个时候你输入su 如果还是没有变化,看看你的虚拟机是不是android7.0,Android 7.0的模拟器是没有root权限的,你再换个6.0的设备运行,输入adb shell后就 阅读全文
posted @ 2020-01-30 21:42 不带R的墨菲特 阅读(1166) 评论(0) 推荐(0) 编辑
摘要:adb kill-server adb start-server 可能会遇到问题华为手机: 有应用遮挡了权限请求界面,设置应用无法验证你的回应 系统导航关闭悬浮球 然后重启adb server adb devices : 解决后如下: 然后再进行 adb tcpip 5555 看到如下提示证明设置无 阅读全文
posted @ 2020-01-30 20:49 不带R的墨菲特 阅读(348) 评论(0) 推荐(0) 编辑
摘要:连接语法: $ adb connect ip:port 断开连接: $ adb disconnect ip:port 可能遇到问题:unable to connect to 192.168.199.248:5555: Connection refused 解决办法(设置监听端口): su 切换roo 阅读全文
posted @ 2020-01-30 18:28 不带R的墨菲特 阅读(418) 评论(0) 推荐(0) 编辑
摘要:adb命令 logcat日志抓取 一.logcat抓log方法:adb logcat命令,可以加条件过滤1.安装SDK(参考android sdk环境安装)2.使用数据线链接手机,在手机助手的sdcard中建立一个1.log的文件或在抓日志时直接导出到电脑位置3.程序运行cmd,进入到含有adb.e 阅读全文
posted @ 2020-01-30 18:12 不带R的墨菲特 阅读(1970) 评论(0) 推荐(0) 编辑
摘要:Monkey结果输出 1.保存在pc中 adb shell monkey [option] <count> >d:\monkey.txt 2.保存在手机中 adb shell monkey [option] <count> >/mnt/sdcard/monkey.txt 3.标准流与错误流分开保存 阅读全文
posted @ 2020-01-30 18:02 不带R的墨菲特 阅读(254) 评论(0) 推荐(0) 编辑
摘要:adb shell pm list packages -3 |grep neteas* monkey -h usage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...] [-c MAIN_CATEGORY [-c MAIN_CATEGORY] 阅读全文
posted @ 2020-01-30 16:15 不带R的墨菲特 阅读(779) 评论(0) 推荐(0) 编辑
摘要:linux: adb shell ps |grep netease 杀进程: adb shell kill [PID] //杀死进程 C:\Users\chenquan>adb shell psUSER PID PPID VSIZE RSS WCHAN PC NAMEroot 1 0 428 240 阅读全文
posted @ 2020-01-29 22:29 不带R的墨菲特 阅读(2899) 评论(0) 推荐(0) 编辑
摘要:C:\Users\chenquan>tasklist | findstr 4720Thunder.exe 4720 Console 1 3,456 K C:\Users\chenquan>netstat -ano |findstr 8080 TCP 192.168.0.106:57185 59.36 阅读全文
posted @ 2020-01-29 22:17 不带R的墨菲特 阅读(207) 评论(0) 推荐(0) 编辑
摘要:通过以上两个方法查询到运行的system service后,就可以在dumpsys后面加上service的名字,查看指定的service信息。 // 查看Activity相关信息adb shell dumpsys activity// 查看CPU相关信息adb shell dumpsys cpuin 阅读全文
posted @ 2020-01-29 22:01 不带R的墨菲特 阅读(551) 评论(0) 推荐(0) 编辑
摘要:1.某些APP安装在模拟器时提示“ this probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions. You should either 阅读全文
posted @ 2020-01-29 21:31 不带R的墨菲特 阅读(1108) 评论(0) 推荐(0) 编辑
摘要:安卓tool: http://tools.android-studio.org/ SDK下载地址:http://dl.google.com/android/android-sdk_r24.4.1-windows.zip 安装:直接双击下一步,默认安装即可。 配置:打开SDK Manager(首次自动 阅读全文
posted @ 2020-01-29 18:53 不带R的墨菲特 阅读(854) 评论(0) 推荐(0) 编辑
摘要:下载:https://www.genymotion.com/download/ 安装前先注册: https://www.runoob.com/w3cnote/android-tutorial-genymotion-install.html 使用官方help 3.0 document:https:// 阅读全文
posted @ 2020-01-28 22:39 不带R的墨菲特 阅读(181) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/julia922/article/details/89031947 阅读全文
posted @ 2019-11-22 16:03 不带R的墨菲特 阅读(159) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示