Window10下Maxim的安裝與使用

2021-10-06 17:53:30 字數 1654 閱讀 8761

專案位址

部署maxim

c:\windows\system32>d:

d:\>cd d:\study\maxim

d:\study\maxim>git clone .git

cloning into 'maxim'

...remote: enumerating objects: 211, done.

remote: total 211 (delta 0), reused 0 (delta 0), pack-reused 211

receiving objects: 100% (211/211), 6.87 mib | 720.00 kib/s, done.

resolving deltas: 100% (75/75), done.

c:\windows\system32>adb devices -l

list of devices attached

127.0.0.1:7555 device product:cancro model:mumu device:x86 transport_id:1

向手機部署maxim相關

d:\study\maxim\maxim>adb push framework.jar /sdcard

framework.jar: 1 file pushed, 0 skipped. 3.2 mb/s (1149240 bytes in 0.342s)

d:\study\maxim\maxim>adb push monkey.jar /sdcard

monkey.jar: 1 file pushed, 0 skipped. 4.0 mb/s (181012 bytes in 0.043s)

執行

命令列模式

cmd 命令 :

策略

模式 dfs

–uiautomatordfs

增加深度遍歷演算法

模式 mix

–uiautomatormix

直接使用底層accessibiltyserver獲取介面介面 解析各控制項,隨機選取乙個控制項執行touch操作。

同時與原monkey 其他操作按比例混合使用

預設accessibilityserver action佔比50%,其餘各action分剩餘的50%

accessibilityserver action佔比可配置 --pct-uiautomatormix n

模式troy

–uiautomatortroy

控制項選擇策略按max.xpath.selector配置的高低優先順序來進行深度遍歷

保留原始monkey

總執行時長

–running-minutes 3 執行3分鐘

–act-whitelist-file /sdcard/awl.strings 定義白名單

–act-blacklist-file

其他引數與原始monkey一致

window10下 rabbitmq 啟動 關閉

rabbitmq啟動的方式有三種 1.乙個是rabbitmq server detached 後台啟動,rabbitmqctl stop 停止 2.rabbitmq server 視窗啟動,關閉視窗時rabbitmq停止,使用rabbitmqctl stop也可停止 3.rabbitmq桌面安裝時,...

Window10下Python開發環境的搭建

本章節我們將向大家介紹如何在window10下搭建python開發環境。python可應用於多平台包括 linux 和 mac os x。你可以通過終端視窗輸入 python 命令來檢視本地是否已經安裝python以及python的安裝版本。cmd命令開啟終端,輸入python檢視版本資訊等,如果安...

window 10下安裝DOSbox的彙編環境

debug link環境的安裝 對dosbox進行配置 操作完上面的安裝步驟,接下來就是對環境的配置 首先開啟安裝的所在路徑,雙擊dosbox 0.74 options,檔案自行的進入了dosbox 0.74.conf,在檔案最後新增 mount c d masm32 code c 這裡的d mas...