-
adb shell
cd /data/anr/
ls
more traces.txt
手動測試時的anr數(shù)據(jù)獲取
# cd data/anr/
# ll traces.txt
查看全部 -
adb logcat | grep START? ?//獲取app包名
查看全部 -
Monkey高級參數(shù)seed實(shí)踐
adb shell monkey -p 包名? -s? 1000 100
指定隨機(jī)值,每次運(yùn)行都生成進(jìn)行一樣的操作,用于復(fù)現(xiàn)某種情況 。
查看全部 -
Monkey高級參數(shù)的應(yīng)用
throttle參數(shù)表示指定事件之間的間隔后面+毫秒+執(zhí)行的次數(shù)
adb shell monkey -p 包名 --throttle 1000 100
查看全部 -
壓力測試:提高穩(wěn)定性 留存率
開始壓力測試的時候:首輪功能測試后 且在夜間
查看全部 -
指定測試點(diǎn)擊事件
adb shell monkey -v -p com.bz.xy --pct-touch 100 100
查看全部 -
adb shell monkey -p com.bz.xy -s 100 50
查看全部 -
adb shell monkey -p com.bz.xy --throttle 1000 100
查看全部 -
獲取app包名
查看全部 -
MonkeyScript概念
是一組可以被Monkey識別的命令集合,可以完成重復(fù)的固定的操作
MonkeyRunner概念
提供了一系列的API,可以完成模擬事件及截圖操作
查看全部 -
設(shè)定觸摸事件的百分比,adb shell monkey --pct-touch<percent>
-v?查看事件詳情
adb shell monkey -v -p com.android.calculator2 --pct -touch 100 100
查看全部 -
adb shell monkey -p com.godo.maixiang? -s? 50
指定隨機(jī)值,每次運(yùn)行都生成進(jìn)行一樣的操作,用于復(fù)現(xiàn)某種情況 。
查看全部 -
延時參數(shù),throttle參數(shù)。
查看全部 -
--ignore-timeout查看全部
-
ignore crashes查看全部
舉報