Open dreamer1314 opened 7 years ago
如下脚本设置运行5000次,smart_monkey -a com.eufylife.EufyHomedev -w ${udid} —event-number 5000 —compress-result 50% --drop-useless-img
实际运行结果只有50多秒。****
Summary Hardware: 9.3 Application: Span: 2017-05-11 11:49:21 ~ 2017-05-11 11:50:25 Results: 1 Test, 1 Ok, 0 Crash, 0 No Run
运行日志: 2017-05-11 03:50:05 141 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-129Z") 2017-05-11 03:50:05 142 Screenshot monkey-2017-05-11T03-50-01-129Z 2017-05-11 03:50:05 143 Debug target.tapWithOptions({x:"70.76430402696133", y:"459.5330904545262"}, {touchCount:"1", tapCount:"1", duration:"0"}) 2017-05-11 03:50:05 144 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-348Z") 2017-05-11 03:50:05 145 Screenshot monkey-2017-05-11T03-50-01-348Z 2017-05-11 03:50:05 146 Debug target.tapWithOptions({x:"149.8147206008434", y:"89.79747879412025"}, {touchCount:"1", tapCount:"1", duration:"0"}) 2017-05-11 03:50:05 147 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-561Z") 2017-05-11 03:50:05 148 Screenshot monkey-2017-05-11T03-50-01-561Z 2017-05-11 03:50:05 149 Debug target.tapWithOptions({x:"222.3337191343307", y:"156.6024675657973"}, {touchCount:"1", tapCount:"1", duration:"0"}) 2017-05-11 03:50:05 150 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-787Z") 2017-05-11 03:50:05 151 Screenshot monkey-2017-05-11T03-50-01-787Z 2017-05-11 03:50:06 152 Debug MonkeyTest finish.
如下脚本设置运行5000次,smart_monkey -a com.eufylife.EufyHomedev -w ${udid} —event-number 5000 —compress-result 50% --drop-useless-img
实际运行结果只有50多秒。****
Summary Hardware: 9.3 Application: Span: 2017-05-11 11:49:21 ~ 2017-05-11 11:50:25 Results: 1 Test, 1 Ok, 0 Crash, 0 No Run
运行日志: 2017-05-11 03:50:05 141 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-129Z") 2017-05-11 03:50:05 142 Screenshot monkey-2017-05-11T03-50-01-129Z 2017-05-11 03:50:05 143 Debug target.tapWithOptions({x:"70.76430402696133", y:"459.5330904545262"}, {touchCount:"1", tapCount:"1", duration:"0"}) 2017-05-11 03:50:05 144 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-348Z") 2017-05-11 03:50:05 145 Screenshot monkey-2017-05-11T03-50-01-348Z 2017-05-11 03:50:05 146 Debug target.tapWithOptions({x:"149.8147206008434", y:"89.79747879412025"}, {touchCount:"1", tapCount:"1", duration:"0"}) 2017-05-11 03:50:05 147 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-561Z") 2017-05-11 03:50:05 148 Screenshot monkey-2017-05-11T03-50-01-561Z 2017-05-11 03:50:05 149 Debug target.tapWithOptions({x:"222.3337191343307", y:"156.6024675657973"}, {touchCount:"1", tapCount:"1", duration:"0"}) 2017-05-11 03:50:05 150 Debug target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", UIScreen, "monkey-2017-05-11T03-50-01-787Z") 2017-05-11 03:50:05 151 Screenshot monkey-2017-05-11T03-50-01-787Z 2017-05-11 03:50:06 152 Debug MonkeyTest finish.