还未发布过话题
  • 工作地点在武汉哪里呢、

  • #140 楼 @hellengo 您好,想问下您这个问题解决了吗,我目前也不到同类型的问题,无法解决。
    我是用的 iPad 我这边 iPad 跑 iOS7 的系统可以跑起来,到时 iOS7 以上的系统,跟您一样,卡死在页面内,但是脚步都可以走完。

  • 设置的时间是 2 小时,不到两小时,遇到

    2016-11-14 04:18:18 +0000 Warning: Target app go to outside, trigger re-launch action.

    2016-11-14 04:18:24 +0000 Fail: The target application appears to have died
    就起不来了。

  • 亲,想问下你的第一个问题怎么解决的,我也遇到跟你一模一样的问题了。跪求回复!

    1. 最大的问题是,只能跑 1 个小时左右,后面就退出了。
  • #290 楼 @xtt_weath 我上次也出现过这样的情况,在报告里面加上 js 文件就好了。你可以试试

  • 问题 1: -t 1000 结果时间未到就结束了(才跑了 7 分钟左右)为什么,
    问题 2: 为什么 2 个时间不一致。
    求解答,小白用户多想各位。

    Mac 版本 10.12 Xcode 7.3.1 iPad 7.0.3
    日志如下:
    localhost:~ wendong$ smart_monkey -a com.autoxxxxhd -w 25aa5e779e8fa86864c509dc9129ffbdcb1992ea -n 1 -t 1000
    /usr/local/lib/ruby/gems/2.3.0/gems/smart_monkey-0.5.0/lib/smart_monkey/monkey_doctor.rb:7: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
    INSTRUMENTS_TRACE_PATH : /Users/wendong/*.trace
    RESULT_BASE_PATH : /Users/wendong/smart_monkey_result
    {:app_path=>"com.autohomehd", :device=>"25aa5e779e8fa86864c509dc9129ffbdcb1992ea", :run_count=>1, :time_limit_sec=>1000, :detail_event_count=>50}
    =================================== Start Test (1/1) =======================================
    2016-10-14 11:01:02.625 instruments[9684:250982] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:01:03.870 instruments[9690:251026] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:01:04.825 instruments[9696:251062] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:01:38.974 instruments[9707:251445] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:01:39.963 instruments[9713:251484] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    Attempting iOS device system log capture via deviceconsole.
    BundleID was found: com.autoxxxxhd
    Run: ["instruments", "-w", "25aa5e779e8fa86864c509dc9129ffbdcb1992ea", "-l", "1000000", "-t", "/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate", "com.autoxxxxhd", "-e", "UIASCRIPT", "/Users/wendong/smart_monkey_result/report_20161014110100/custom.js", "-e", "UIARESULTSPATH", "/Users/wendong/smart_monkey_result/report_20161014110100"]
    2016-10-14 11:01:47.939 instruments[9734:251671] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 03:01:59 +0000 Default: {"width":1024.0000335703464,"height":768.0000447604625}
    2016-10-14 03:01:59 +0000 Debug: target.tapWithOptions({x:"188.771146774292", y:"674.928044735454"}, {touchCount:"1", tapCount:"1", duration:"0"})
    2016-10-14 03:01:59 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-01-59-823Z")
    2016-10-14 03:02:00 +0000 Screenshot captured.
    2016-10-14 03:02:00 +0000 Debug: target.tapWithOptions({x:"559.0689308643341", y:"702.9246333669871"}, {touchCount:"1", tapCount:"1", duration:"0"})
    2016-10-14 03:02:00 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-02-00-552Z")

    ...........
    2016-10-14 03:03:50 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-03-50-468Z")
    2016-10-14 03:03:50 +0000 Screenshot captured.
    2016-10-14 03:03:50 +0000 Debug: target.dragFromToForDuration({x:"672.7496573925018", y:"181.8702606661245"}, {x:"730.4074461460114", y:"202.9441863317043"}, "0.5")
    2016-10-14 03:03:51 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-03-51-543Z")
    2016-10-14 03:03:51 +0000 Screenshot captured.
    2016-10-14 03:03:51 +0000 Debug: target.tapWithOptions({x:"313.8043835163116", y:"216.1103715077043"}, {touchCount:"1", tapCount:"1", duration:"0"})
    2016-10-14 03:03:52 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-03-52-016Z")

    2016-10-14 03:03:52 +0000 Debug: target.dragFromToForDuration({x:"244.3983271121979", y:"27.1762412507087"}, {x:"278.9728639125824", y:"66.35953510552645"}, "0.5")
    2016-10-14 03:03:53 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-03-53-571Z")
    2016-10-14 03:03:53 +0000 Screenshot captured.
    2016-10-14 03:03:54 +0000 Debug: target.tapWithOptions({x:"900.2550766468048", y:"554.6903289649636"}, {touchCount:"1", tapCount:"1", duration:"0"})
    2016-10-14 03:03:54 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-03-54-071Z")
    2016-10-14 03:03:54 +0000 Screenshot captured.
    2016-10-14 03:03:54 +0000 Debug: target.dragFromToForDuration({x:"372.8422691822052", y:"671.2079738155007"}, {x:"414.9163269996643", y:"682.7956647770479"}, "0.5")
    2016-10-14 03:03:55 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:256.00}, size:{height:768.00,width:1024.00}}", "monkey-2016-10-14T03-03-55-177Z")
    2016-10-14 03:03:55 +0000 Screenshot captured.
    2016-10-14 03:03:55 +0000 Warning: Target app go to outside, trigger re-launch action.
    2016-10-14 03:04:00 +0000 Fail: The target application appears to have died
    2016-10-14 11:04:00.943 instruments[9734:251677] Attempting to change event horizon while disengage
    Instruments Trace Complete (Duration : 133.268387s; Output : /Users/wendong/instrumentscli0.trace)
    Stop iOS system log capture.
    2016-10-14 11:04:47.502 instruments[9766:254193] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:04:48.437 instruments[9772:254228] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:02.137 instruments[9794:255223] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:03.174 instruments[9800:255330] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:04.181 instruments[9806:255369] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:05.166 instruments[9813:255421] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:06.231 instruments[9819:255456] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:08.297 instruments[9832:255573] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:10.231 instruments[9844:255640] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    2016-10-14 11:07:11.018 instruments[9850:255663] WebKit Threading Violation - initial use of WebKit from a secondary thread.
    Monkey Test Report:/Users/wendong/smart_monkey_result/report_20161014110100/index.html
    EXIT 0