摘要: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
相关文章