摘要: 在ServerAgent-2.2.3文件夹中添加jre文件 下载地址:https://www.oracle.com/java/technologies/javase-downloads.html 配置startAgent.bat 环境变量 保存后启动startAgent.bat成功 阅读全文
posted @ 2021-02-24 15:10 晓林5577 阅读(915) 评论(0) 推荐(0)
摘要: 1、启动Fiddler,打开菜单栏Rules Performances Simulate Modem Speeds这里打开了模拟调节速度 2、打开Fiddler Script,找到以下代码进行修改 if (m_SimulateModem) { // Delay sends by 300ms per 阅读全文
posted @ 2021-01-26 17:38 晓林5577 阅读(117) 评论(0) 推荐(0)
摘要: 隐式等待 driver.implicitly_wait(5)# 访问网址driver.get("https://m.weibo.cn/")显示等待# 访问网址driver.get("https://m.weibo.cn/") # 点击大家都在搜driver.find_element_by_xpath 阅读全文
posted @ 2021-01-23 16:43 晓林5577 阅读(57) 评论(0) 推荐(0)
摘要: # 根据 id 属性进行定位, 只返回找到的第一个元素ele = driver.find_element_by_id("abc") # 根据 name 属性定位, 只返回找到的第一个元素ele = driver.find_element_by_name("abd") # 根据链接文本进行定位, 只返 阅读全文
posted @ 2021-01-23 16:36 晓林5577 阅读(110) 评论(0) 推荐(0)
摘要: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is 阅读全文
posted @ 2021-01-22 15:35 晓林5577 阅读(215) 评论(0) 推荐(0)
摘要: adb shell dumpsys battery set level 1 设置手机电量为1%; adb shell dumpsys battery unplug 设置断开充电 adb shell dumpsys battery reset 复位,恢复实际状态 阅读全文
posted @ 2020-12-27 13:50 晓林5577 阅读(1676) 评论(0) 推荐(0)
摘要: 日志分析 d:/monkey.log 放在 d 盘的根目录 那么对于 monkey 跑完之后,我们要如何去确认有没有出现 bug 呢? 最直观简单的方式就是通过搜索以下关键字: 1. 程序无响应的情况:搜索关键字“ANR in” 2. 崩溃的情况1:搜索关键字“CRASH” 3. 崩溃的情况2:搜索 阅读全文
posted @ 2020-12-26 22:57 晓林5577 阅读(94) 评论(0) 推荐(0)
摘要: 指定时间类型百分比参数 # 单个参数设置百分比 adb shell monkey -p com.huomaotv.mobile --pct-appswitch 20 10000 # 多个参数设置百分比 adb shell monkey -p com.huomaotv.mobile --pct-app 阅读全文
posted @ 2020-12-26 22:54 晓林5577 阅读(155) 评论(0) 推荐(0)
摘要: adb shell monkey [+ 命令参数] [指令数]Monkey 参数-p 用于约束限制,用此参数指定一个或多个包。指定包后,所有的随机指令都会针对该应用进行操作。(如 何查找包名,请查看文章最后-v 用于指定反馈信息级别(信息级别就是日志的详细程度),总共分 3 个级别,以 -v 参数在 阅读全文
posted @ 2020-12-26 22:47 晓林5577 阅读(358) 评论(0) 推荐(0)
摘要: %a 星期几的简写%A 星期几的全称%b 月分的简写%B 月份的全称%c 标准的日期的时间串%C 年份的后两位数字%d 十进制表示的每月的第几天%D 月/天/年%e 在两字符域中,十进制表示的每月的第几天%F 年-月-日%g 年份的后两位数字,使用基于周的年%G 年分,使用基于周的年%h 简写的月份 阅读全文
posted @ 2020-10-27 15:51 晓林5577 阅读(1950) 评论(0) 推荐(0)