摘要:data="com.android.calculator2" //使用monkdy工具 測試了100次 //通過-s指定seed的值可以重複跟本次操作一模一樣的操作 :Monkey: seed=1582553186510 count=100 //測試的包名 :AllowPackage: com.android.calculator2 //策略 :IncludeCategory: android.intent.category.LAUNCHER :IncludeCategory: android.intent.category.MONKEY // Selecting main activities from category android.intent.category.LAUNCHER // + Using main activity com.android.calculator2.Calculator (from package com.android.calculator2) // Selecting main activities from category android.intent.category.MONKEY // Seeded: 1582553186510 // Event percentages: //每一種事件測試的佔比,每個數組代表不同的事件類型 // // 0: 15.0% // 1: 10.0% // 2: 2.0% // 3: 15.0% // 4: -0.0% // 5: -0.0% // 6: 25.0% // 7: 15.0% // 8: 2.0% // 9: 2.0% // 10: 1.0% // 11: 13.0% ..... //網絡狀況 執行時間 ## Network stats: elapsed time=484ms (0ms mobile, 0ms wifi, 484ms not connected) // Monkey finished。使用-f參數就可以執行Monkey的腳本了 adb shell monkey -f
相關文章