bytedance / Fastbot_Android

Fastbot(2.0) is a model-based testing tool for modeling GUI transitions to discover app stability problems
Other
1.01k stars 235 forks source link

配置了max.xpath.actions ,但是没有生效 #254

Open nanali2023 opened 7 months ago

nanali2023 commented 7 months ago

测试手机: 三星 Galaxy Z Flip4 android 13

max.xpath.actions文件配置: [ { "prob": 1, "activity": "com.example.baymax_flutter.MainActivity", "times": 1, "actions": [ { "xpath": "//android.widget.EditText", "action": "CLICK", "text": "2085674574734@qq.com", "clearText": true, "throttle": 1000 }, { "xpath": "//*[@content-desc='登录/注册']", "action": "CLICK", "throttle": 1000 } ] } ]

日志内容:

` [Fastbot] ERROR findMethod() error, NoSuchMethodException happened, there is no such method: getTasks [Fastbot][2023-11-13 16:52:44.273] // current activity is com.example.baymax_flutter.MainActivity [Fastbot][2023-11-13 16:52:44.284] // Event id: 1 [Fastbot][2023-11-13 16:52:44.298] action type: CLICK [Fastbot][2023-11-13 16:52:44.299] rpc cost time: 13 [Fastbot][2023-11-13 16:52:44.354] mshowrequested=true mshowexplicitlyrequested=true mshowforced=false minputshown=true [Fastbot][2023-11-13 16:52:44.355] mInputShown found. [Fastbot][2023-11-13 16:52:44.356] event time:83 [Fastbot][2023-11-13 16:52:44.356] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:44.388] :Sending Touch (ACTION_DOWN): 0:(760.30066,905.0) [Fastbot][2023-11-13 16:52:44.393] :Sending Touch (ACTION_UP): 0:(760.30066,905.0) [Fastbot][2023-11-13 16:52:44.419] :Sending Key (ACTION_DOWN): 111 // KEYCODE_ESCAPE [Fastbot][2023-11-13 16:52:44.424] :Sending Key (ACTION_UP): 111 // KEYCODE_ESCAPE [Fastbot][2023-11-13 16:52:44.534] Sleeping for 581 milliseconds [Fastbot][2023-11-13 16:52:45.126] // Event id: 7 [Fastbot][2023-11-13 16:52:45.134] action type: CLICK [Fastbot][2023-11-13 16:52:45.135] rpc cost time: 2 [Fastbot] WARNING checkVirtualKeyboard: Input only once. [Fastbot][2023-11-13 16:52:45.139] event time:17 [Fastbot][2023-11-13 16:52:45.140] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:45.166] :Sending Touch (ACTION_DOWN): 0:(501.90027,1593.0) [Fastbot][2023-11-13 16:52:45.175] :Sending Touch (ACTION_UP): 0:(501.90027,1593.0) [Fastbot][2023-11-13 16:52:45.180] Sleeping for 1500 milliseconds [Fastbot][2023-11-13 16:52:46.694] // Event id: 11 [Fastbot][2023-11-13 16:52:46.703] action type: CLICK [Fastbot][2023-11-13 16:52:46.703] rpc cost time: 4 [Fastbot] WARNING checkVirtualKeyboard: Input only once. [Fastbot][2023-11-13 16:52:46.708] event time:20 [Fastbot][2023-11-13 16:52:46.709] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:46.747] :Sending Touch (ACTION_DOWN): 0:(917.851,2006.0) [Fastbot][2023-11-13 16:52:46.754] :Sending Touch (ACTION_UP): 0:(917.851,2006.0) [Fastbot][2023-11-13 16:52:46.762] Sleeping for 511 milliseconds [Fastbot][2023-11-13 16:52:47.284] // Event id: 15 [Fastbot][2023-11-13 16:52:47.293] action type: CLICK [Fastbot][2023-11-13 16:52:47.294] rpc cost time: 4 [Fastbot][2023-11-13 16:52:47.296] Input text is 324235435436 [Fastbot][2023-11-13 16:52:47.296] MonkeyIMEEvent added 324235435436 [Fastbot][2023-11-13 16:52:47.301] event time:23 [Fastbot][2023-11-13 16:52:47.302] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:47.337] :Sending Touch (ACTION_DOWN): 0:(60.050293,136.0) [Fastbot][2023-11-13 16:52:47.341] :Sending Touch (ACTION_UP): 0:(60.050293,136.0) [Fastbot][2023-11-13 16:52:47.401] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:47.421] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:47.428] :Is accepting text: false [Fastbot][2023-11-13 16:52:47.609] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:47.623] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:47.626] :Is accepting text: false [Fastbot][2023-11-13 16:52:47.806] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:47.820] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:47.823] :Is accepting text: false [Fastbot][2023-11-13 16:52:48.005] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:48.016] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:48.019] :Is accepting text: false [Fastbot][2023-11-13 16:52:48.200] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:48.211] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:48.213] :Is accepting text: false [Fastbot][2023-11-13 16:52:48.397] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:48.408] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:48.411] :Is accepting text: false [Fastbot][2023-11-13 16:52:48.595] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:48.606] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:48.608] :Is accepting text: false [Fastbot][2023-11-13 16:52:48.787] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:48.799] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:48.801] :Is accepting text: false [Fastbot][2023-11-13 16:52:48.985] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:49.001] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:49.004] :Is accepting text: false [Fastbot][2023-11-13 16:52:49.188] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:49.200] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:49.201] :Is accepting text: false [Fastbot][2023-11-13 16:52:49.384] mshowrequested=false mshowexplicitlyrequested=false mshowforced=false minputshown=false [Fastbot][2023-11-13 16:52:49.402] mInputShown not found, getInputMethodWindowVisibleHeight is used. [Fastbot][2023-11-13 16:52:49.405] :Is accepting text: false [Fastbot][2023-11-13 16:52:49.563] Sleeping for 554 milliseconds [Fastbot][2023-11-13 16:52:50.127] // Event id: 20 [Fastbot][2023-11-13 16:52:50.134] action type: SCROLL_RIGHT_LEFT [Fastbot][2023-11-13 16:52:50.135] rpc cost time: 4 [Fastbot][2023-11-13 16:52:50.140] event time:17 [Fastbot][2023-11-13 16:52:50.141] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:50.159] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:50.164] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:50.178] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.202] :Sending Touch (ACTION_MOVE): 0:(486.0,1320.0) [Fastbot][2023-11-13 16:52:50.206] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.230] :Sending Touch (ACTION_MOVE): 0:(432.0,1320.0) [Fastbot][2023-11-13 16:52:50.235] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.264] :Sending Touch (ACTION_MOVE): 0:(378.0,1320.0) [Fastbot][2023-11-13 16:52:50.270] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.295] :Sending Touch (ACTION_MOVE): 0:(324.0,1320.0) [Fastbot][2023-11-13 16:52:50.299] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.326] :Sending Touch (ACTION_MOVE): 0:(270.0,1320.0) [Fastbot][2023-11-13 16:52:50.334] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.361] :Sending Touch (ACTION_MOVE): 0:(216.0,1320.0) [Fastbot][2023-11-13 16:52:50.366] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.391] :Sending Touch (ACTION_MOVE): 0:(162.0,1320.0) [Fastbot][2023-11-13 16:52:50.398] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.423] :Sending Touch (ACTION_MOVE): 0:(108.0,1320.0) [Fastbot][2023-11-13 16:52:50.428] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.453] :Sending Touch (ACTION_MOVE): 0:(54.0,1320.0) [Fastbot][2023-11-13 16:52:50.459] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:50.484] :Sending Touch (ACTION_UP): 0:(0.0,1320.0) [Fastbot][2023-11-13 16:52:50.493] Sleeping for 554 milliseconds [Fastbot][2023-11-13 16:52:51.058] // Event id: 44 [Fastbot][2023-11-13 16:52:51.063] action type: SCROLL_TOP_DOWN [Fastbot][2023-11-13 16:52:51.064] rpc cost time: 3 [Fastbot][2023-11-13 16:52:51.068] event time:14 [Fastbot][2023-11-13 16:52:51.069] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:51.089] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:51.094] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:51.098] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.121] :Sending Touch (ACTION_MOVE): 0:(540.0,1438.0) [Fastbot][2023-11-13 16:52:51.124] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.149] :Sending Touch (ACTION_MOVE): 0:(540.0,1556.0) [Fastbot][2023-11-13 16:52:51.152] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.176] :Sending Touch (ACTION_MOVE): 0:(540.0,1674.0) [Fastbot][2023-11-13 16:52:51.180] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.205] :Sending Touch (ACTION_MOVE): 0:(540.0,1792.0) [Fastbot][2023-11-13 16:52:51.209] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.235] :Sending Touch (ACTION_MOVE): 0:(540.0,1910.0) [Fastbot][2023-11-13 16:52:51.239] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.262] :Sending Touch (ACTION_MOVE): 0:(540.0,2028.0) [Fastbot][2023-11-13 16:52:51.264] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.288] :Sending Touch (ACTION_MOVE): 0:(540.0,2146.0) [Fastbot][2023-11-13 16:52:51.291] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.314] :Sending Touch (ACTION_MOVE): 0:(540.0,2264.0) [Fastbot][2023-11-13 16:52:51.317] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.341] :Sending Touch (ACTION_MOVE): 0:(540.0,2382.0) [Fastbot][2023-11-13 16:52:51.343] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.367] :Sending Touch (ACTION_UP): 0:(540.0,2500.0) [Fastbot][2023-11-13 16:52:51.372] Sleeping for 515 milliseconds [Fastbot][2023-11-13 16:52:51.898] // Event id: 68 [Fastbot][2023-11-13 16:52:51.899] action type: SCROLL_BOTTOM_UP [Fastbot][2023-11-13 16:52:51.899] rpc cost time: 0 [Fastbot][2023-11-13 16:52:51.900] event time:11 [Fastbot][2023-11-13 16:52:51.901] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:51.917] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:51.920] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:51.927] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.949] :Sending Touch (ACTION_MOVE): 0:(540.0,1200.0) [Fastbot][2023-11-13 16:52:51.952] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:51.975] :Sending Touch (ACTION_MOVE): 0:(540.0,1080.0) [Fastbot][2023-11-13 16:52:51.977] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.000] :Sending Touch (ACTION_MOVE): 0:(540.0,960.0) [Fastbot][2023-11-13 16:52:52.002] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.025] :Sending Touch (ACTION_MOVE): 0:(540.0,840.0) [Fastbot][2023-11-13 16:52:52.030] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.054] :Sending Touch (ACTION_MOVE): 0:(540.0,720.0) [Fastbot][2023-11-13 16:52:52.060] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.086] :Sending Touch (ACTION_MOVE): 0:(540.0,600.0) [Fastbot][2023-11-13 16:52:52.092] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.116] :Sending Touch (ACTION_MOVE): 0:(540.0,480.0) [Fastbot][2023-11-13 16:52:52.122] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.146] :Sending Touch (ACTION_MOVE): 0:(540.0,360.0) [Fastbot][2023-11-13 16:52:52.151] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.177] :Sending Touch (ACTION_MOVE): 0:(540.0,240.0) [Fastbot][2023-11-13 16:52:52.182] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:52.208] :Sending Touch (ACTION_UP): 0:(540.0,136.0) [Fastbot][2023-11-13 16:52:52.216] Sleeping for 515 milliseconds [Fastbot][2023-11-13 16:52:52.739] // Event id: 92 [Fastbot][2023-11-13 16:52:52.742] action type: LONG_CLICK [Fastbot][2023-11-13 16:52:52.742] rpc cost time: 1 [Fastbot][2023-11-13 16:52:52.745] event time:10 [Fastbot][2023-11-13 16:52:52.746] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:52.766] :Sending Touch (ACTION_DOWN): 0:(772.05084,1010.0) [Fastbot][2023-11-13 16:52:52.771] Wait Event for 1000 milliseconds [Fastbot][2023-11-13 16:52:53.778] :Sending Touch (ACTION_UP): 0:(772.05084,1010.0) [Fastbot][2023-11-13 16:52:53.786] Sleeping for 539 milliseconds [Fastbot][2023-11-13 16:52:54.338] // Event id: 97 [Fastbot][2023-11-13 16:52:54.344] action type: SCROLL_LEFT_RIGHT [Fastbot][2023-11-13 16:52:54.345] rpc cost time: 3 [Fastbot][2023-11-13 16:52:54.350] event time:18 [Fastbot][2023-11-13 16:52:54.351] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:54.387] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:54.395] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:52:54.400] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.428] :Sending Touch (ACTION_MOVE): 0:(593.9,1320.0) [Fastbot][2023-11-13 16:52:54.436] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.463] :Sending Touch (ACTION_MOVE): 0:(647.8,1320.0) [Fastbot][2023-11-13 16:52:54.469] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.493] :Sending Touch (ACTION_MOVE): 0:(701.7,1320.0) [Fastbot][2023-11-13 16:52:54.497] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.522] :Sending Touch (ACTION_MOVE): 0:(755.6,1320.0) [Fastbot][2023-11-13 16:52:54.527] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.550] //[calendar_time:2023-11-13 16:52:54.549 system_uptime:56828] [Fastbot][2023-11-13 16:52:54.551] // Sending event #100 [Fastbot][2023-11-13 16:52:54.554] //[calendar_time:2023-11-13 16:52:54.554 system_uptime:56832] [Fastbot][2023-11-13 16:52:54.555] // Sending event #100 [Fastbot][2023-11-13 16:52:54.557] :Sending Touch (ACTION_MOVE): 0:(809.5,1320.0) [Fastbot][2023-11-13 16:52:54.562] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.587] :Sending Touch (ACTION_MOVE): 0:(863.4,1320.0) [Fastbot][2023-11-13 16:52:54.592] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.618] :Sending Touch (ACTION_MOVE): 0:(917.3,1320.0) [Fastbot][2023-11-13 16:52:54.623] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.649] :Sending Touch (ACTION_MOVE): 0:(971.2,1320.0) [Fastbot][2023-11-13 16:52:54.654] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.680] :Sending Touch (ACTION_MOVE): 0:(1025.1,1320.0) [Fastbot][2023-11-13 16:52:54.685] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:52:54.712] :Sending Touch (ACTION_UP): 0:(1079.0,1320.0) [Fastbot][2023-11-13 16:52:54.719] Sleeping for 529 milliseconds [Fastbot][2023-11-13 16:52:55.255] // Event id: 121 [Fastbot][2023-11-13 16:52:55.259] action type: BACK [Fastbot][2023-11-13 16:52:55.259] rpc cost time: 1 [Fastbot][2023-11-13 16:52:55.289] event time:38 [Fastbot][2023-11-13 16:52:55.289] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:55.307] :Sending Key (ACTION_DOWN): 4 // KEYCODE_BACK [Fastbot][2023-11-13 16:52:55.312] :Sending Key (ACTION_UP): 4 // KEYCODE_BACK [Fastbot][2023-11-13 16:52:55.316] Sleeping for 579 milliseconds [Fastbot][2023-11-13 16:52:55.897] // the top activity is com.android.launcher3.uioverrides.QuickstepLauncher, not testing app, need inject restart app [Fastbot][2023-11-13 16:52:55.899] Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=tech.mobile.baymax.stg/com.example.baymax_flutter.MainActivity;end [Fastbot][2023-11-13 16:52:55.901] IActivityManager.startActivity failed, execute am start activity [Fastbot][2023-11-13 16:52:55.942] // the top activity is com.example.baymax_flutter.MainActivity, phone capture activity is com.sec.android.app.camera.Camera [Fastbot][2023-11-13 16:52:55.942] // Allowing start of Intent { cmp=tech.mobile.baymax.stg/com.example.baymax_flutter.MainActivity } in package tech.mobile.baymax.stg [Fastbot][2023-11-13 16:52:55.961] Sleeping for 2000 milliseconds [Fastbot][2023-11-13 16:52:57.974] // Event id: 127 [Fastbot][2023-11-13 16:52:57.980] action type: BACK [Fastbot][2023-11-13 16:52:57.982] rpc cost time: 4 [Fastbot][2023-11-13 16:52:58.060] event time:92 [Fastbot][2023-11-13 16:52:58.060] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:52:58.097] :Sending Key (ACTION_DOWN): 4 // KEYCODE_BACK [Fastbot][2023-11-13 16:52:58.102] :Sending Key (ACTION_UP): 4 // KEYCODE_BACK [Fastbot][2023-11-13 16:52:58.126] Sleeping for 520 milliseconds [Fastbot][2023-11-13 16:52:58.651] // the top activity is com.android.launcher3.uioverrides.QuickstepLauncher, not testing app, need inject fuzz event [Fastbot][2023-11-13 16:52:58.653] :Sending Key (ACTION_DOWN): 19 // KEYCODE_DPAD_UP [Fastbot][2023-11-13 16:52:58.656] :Sending Key (ACTION_UP): 19 // KEYCODE_DPAD_UP [Fastbot][2023-11-13 16:52:58.662] :Sending Touch (ACTION_DOWN): 0:(705.0,2206.0) [Fastbot][2023-11-13 16:52:58.665] :Sending Touch (ACTION_MOVE): 0:(706.5726,2204.4985) [Fastbot][2023-11-13 16:52:58.666] Wait Event for 66 milliseconds [Fastbot][2023-11-13 16:52:58.737] :Sending Touch (ACTION_UP): 0:(711.7391,2188.5198) [Fastbot][2023-11-13 16:52:58.742] :Sending Touch (ACTION_DOWN): 0:(843.0,1954.0) [Fastbot][2023-11-13 16:52:58.743] :Sending Touch (ACTION_MOVE): 0:(843.8892,1955.1146) [Fastbot][2023-11-13 16:52:58.744] Wait Event for 33 milliseconds [Fastbot][2023-11-13 16:52:58.779] :Sending Touch (ACTION_MOVE): 0:(845.77716,1960.933) [Fastbot][2023-11-13 16:52:58.781] Wait Event for 33 milliseconds [Fastbot][2023-11-13 16:52:58.816] :Sending Touch (ACTION_MOVE): 0:(848.5825,1972.3717) [Fastbot][2023-11-13 16:52:58.818] Wait Event for 33 milliseconds [Fastbot][2023-11-13 16:52:58.853] :Sending Touch (ACTION_MOVE): 0:(849.7837,1975.6233) [Fastbot][2023-11-13 16:52:58.855] Wait Event for 33 milliseconds [Fastbot][2023-11-13 16:52:58.891] :Sending Touch (ACTION_UP): 0:(850.6563,1985.0635) [Fastbot][2023-11-13 16:52:58.895] :Sending rotation degree=1, persist=false [Fastbot][2023-11-13 16:52:58.912] :Sending Touch (ACTION_DOWN): 0:(339.0,1045.0) [Fastbot][2023-11-13 16:52:58.914] :Sending Touch (ACTION_POINTER_DOWN 1): 0:(343.0,1518.0) 1:(412.0,1897.0) [Fastbot][2023-11-13 16:52:58.916] :Sending Touch (ACTION_MOVE): 0:(325.32645,1518.3892) 1:(410.2653,1909.3413) [Fastbot][2023-11-13 16:52:58.917] :Sending Touch (ACTION_MOVE): 0:(318.1731,1519.3372) 1:(401.06848,1913.948) [Fastbot][2023-11-13 16:52:58.918] :Sending Touch (ACTION_MOVE): 0:(303.8732,1525.3469) 1:(393.6469,1926.3757) [Fastbot][2023-11-13 16:52:58.919] :Sending Touch (ACTION_MOVE): 0:(292.38766,1531.4487) 1:(389.5329,1937.1238) [Fastbot][2023-11-13 16:52:58.920] :Sending Touch (ACTION_MOVE): 0:(289.1359,1540.6305) 1:(379.03748,1942.9763) [Fastbot][2023-11-13 16:52:58.921] :Sending Touch (ACTION_MOVE): 0:(279.35046,1550.7511) 1:(378.87485,1948.0277) [Fastbot][2023-11-13 16:52:58.922] :Sending Touch (ACTION_MOVE): 0:(272.25522,1554.5706) 1:(371.642,1952.0692) [Fastbot][2023-11-13 16:52:58.923] :Sending Touch (ACTION_MOVE): 0:(259.27475,1565.2129) 1:(367.02332,1964.6942) [Fastbot][2023-11-13 16:52:58.924] :Sending Touch (ACTION_MOVE): 0:(242.6913,1567.842) 1:(359.0457,1974.4811) [Fastbot][2023-11-13 16:52:58.925] :Sending Touch (ACTION_POINTER_UP 1): 0:(239.66724,1575.5657) 1:(354.14224,1975.5082) [Fastbot][2023-11-13 16:52:58.926] :Sending Touch (ACTION_UP): 0:(225.43803,1577.3282) [Fastbot][2023-11-13 16:52:58.928] :Sending Key (ACTION_DOWN): 4 // KEYCODE_BACK [Fastbot][2023-11-13 16:52:58.929] :Sending Key (ACTION_UP): 4 // KEYCODE_BACK [Fastbot][2023-11-13 16:52:58.933] // the top activity is com.android.launcher3.uioverrides.QuickstepLauncher, not testing app, need inject restart app [Fastbot][2023-11-13 16:52:58.933] Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=tech.mobile.baymax.stg/com.example.baymax_flutter.MainActivity;end [Fastbot][2023-11-13 16:52:58.934] IActivityManager.startActivity failed, execute am start activity [Fastbot][2023-11-13 16:52:58.953] // the top activity is com.example.baymax_flutter.MainActivity, phone capture activity is com.sec.android.app.camera.Camera [Fastbot][2023-11-13 16:52:58.954] // Allowing start of Intent { cmp=tech.mobile.baymax.stg/com.example.baymax_flutter.MainActivity } in package tech.mobile.baymax.stg [Fastbot][2023-11-13 16:52:58.974] Sleeping for 2000 milliseconds [Fastbot][2023-11-13 16:53:00.986] // Event id: 174 [Fastbot][2023-11-13 16:53:00.996] action type: CLICK [Fastbot][2023-11-13 16:53:00.998] rpc cost time: 4 [Fastbot] WARNING checkVirtualKeyboard: Input only once. [Fastbot][2023-11-13 16:53:01.003] event time:23 [Fastbot][2023-11-13 16:53:01.004] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:01.050] :Sending Touch (ACTION_DOWN): 0:(399.00085,2409.0) [Fastbot][2023-11-13 16:53:01.054] :Sending Touch (ACTION_UP): 0:(399.00085,2409.0) [Fastbot][2023-11-13 16:53:01.059] Sleeping for 593 milliseconds [Fastbot][2023-11-13 16:53:01.663] // Event id: 178 [Fastbot][2023-11-13 16:53:01.671] action type: SCROLL_LEFT_RIGHT [Fastbot][2023-11-13 16:53:01.673] rpc cost time: 2 [Fastbot][2023-11-13 16:53:01.676] event time:18 [Fastbot][2023-11-13 16:53:01.677] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:01.715] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:01.722] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:01.728] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.755] :Sending Touch (ACTION_MOVE): 0:(593.9,1320.0) [Fastbot][2023-11-13 16:53:01.763] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.790] :Sending Touch (ACTION_MOVE): 0:(647.8,1320.0) [Fastbot][2023-11-13 16:53:01.797] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.823] :Sending Touch (ACTION_MOVE): 0:(701.7,1320.0) [Fastbot][2023-11-13 16:53:01.830] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.856] :Sending Touch (ACTION_MOVE): 0:(755.6,1320.0) [Fastbot][2023-11-13 16:53:01.863] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.890] :Sending Touch (ACTION_MOVE): 0:(809.5,1320.0) [Fastbot][2023-11-13 16:53:01.895] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.920] :Sending Touch (ACTION_MOVE): 0:(863.4,1320.0) [Fastbot][2023-11-13 16:53:01.926] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.953] :Sending Touch (ACTION_MOVE): 0:(917.3,1320.0) [Fastbot][2023-11-13 16:53:01.961] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:01.988] :Sending Touch (ACTION_MOVE): 0:(971.2,1320.0) [Fastbot][2023-11-13 16:53:01.995] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:02.022] :Sending Touch (ACTION_MOVE): 0:(1025.1,1320.0) [Fastbot][2023-11-13 16:53:02.028] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:02.055] :Sending Touch (ACTION_UP): 0:(1079.0,1320.0) [Fastbot][2023-11-13 16:53:02.065] Sleeping for 551 milliseconds [Fastbot][2023-11-13 16:53:02.627] // Event id: 202 [Fastbot][2023-11-13 16:53:02.633] action type: LONG_CLICK [Fastbot][2023-11-13 16:53:02.634] rpc cost time: 4 [Fastbot][2023-11-13 16:53:02.638] event time:16 [Fastbot][2023-11-13 16:53:02.639] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:02.661] :Sending Touch (ACTION_DOWN): 0:(573.5514,2015.0) [Fastbot][2023-11-13 16:53:02.663] Wait Event for 1000 milliseconds [Fastbot][2023-11-13 16:53:03.670] :Sending Touch (ACTION_UP): 0:(573.5514,2015.0) [Fastbot][2023-11-13 16:53:03.678] Sleeping for 510 milliseconds [Fastbot][2023-11-13 16:53:04.204] // Event id: 207 [Fastbot][2023-11-13 16:53:04.211] action type: SCROLL_RIGHT_LEFT [Fastbot][2023-11-13 16:53:04.212] rpc cost time: 4 [Fastbot][2023-11-13 16:53:04.217] event time:19 [Fastbot][2023-11-13 16:53:04.218] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:04.246] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:04.252] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:04.276] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.303] :Sending Touch (ACTION_MOVE): 0:(486.0,1320.0) [Fastbot][2023-11-13 16:53:04.312] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.340] :Sending Touch (ACTION_MOVE): 0:(432.0,1320.0) [Fastbot][2023-11-13 16:53:04.347] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.374] :Sending Touch (ACTION_MOVE): 0:(378.0,1320.0) [Fastbot][2023-11-13 16:53:04.382] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.409] :Sending Touch (ACTION_MOVE): 0:(324.0,1320.0) [Fastbot][2023-11-13 16:53:04.416] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.442] :Sending Touch (ACTION_MOVE): 0:(270.0,1320.0) [Fastbot][2023-11-13 16:53:04.450] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.476] :Sending Touch (ACTION_MOVE): 0:(216.0,1320.0) [Fastbot][2023-11-13 16:53:04.484] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.511] :Sending Touch (ACTION_MOVE): 0:(162.0,1320.0) [Fastbot][2023-11-13 16:53:04.518] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.543] :Sending Touch (ACTION_MOVE): 0:(108.0,1320.0) [Fastbot][2023-11-13 16:53:04.548] //[calendar_time:2023-11-13 16:53:04.548 system_uptime:66826] [Fastbot][2023-11-13 16:53:04.550] // Sending event #200 [Fastbot][2023-11-13 16:53:04.554] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.581] :Sending Touch (ACTION_MOVE): 0:(54.0,1320.0) [Fastbot][2023-11-13 16:53:04.588] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:04.615] :Sending Touch (ACTION_UP): 0:(0.0,1320.0) [Fastbot][2023-11-13 16:53:04.626] Sleeping for 560 milliseconds [Fastbot][2023-11-13 16:53:05.198] // Event id: 231 [Fastbot][2023-11-13 16:53:05.204] action type: CLICK [Fastbot][2023-11-13 16:53:05.205] rpc cost time: 4 [Fastbot] WARNING checkVirtualKeyboard: Input only once. [Fastbot][2023-11-13 16:53:05.212] event time:19 [Fastbot][2023-11-13 16:53:05.212] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:05.235] :Sending Touch (ACTION_DOWN): 0:(457.15063,2176.0) [Fastbot][2023-11-13 16:53:05.241] :Sending Touch (ACTION_UP): 0:(457.15063,2176.0) [Fastbot][2023-11-13 16:53:05.245] Sleeping for 558 milliseconds [Fastbot][2023-11-13 16:53:05.814] // Event id: 235 [Fastbot][2023-11-13 16:53:05.816] action type: SCROLL_TOP_DOWN [Fastbot][2023-11-13 16:53:05.817] rpc cost time: 1 [Fastbot][2023-11-13 16:53:05.819] event time:11 [Fastbot][2023-11-13 16:53:05.820] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:05.853] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:05.859] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:05.863] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:05.887] :Sending Touch (ACTION_MOVE): 0:(540.0,1438.0) [Fastbot][2023-11-13 16:53:05.892] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:05.920] :Sending Touch (ACTION_MOVE): 0:(540.0,1556.0) [Fastbot][2023-11-13 16:53:05.925] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:05.952] :Sending Touch (ACTION_MOVE): 0:(540.0,1674.0) [Fastbot][2023-11-13 16:53:05.959] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:05.987] :Sending Touch (ACTION_MOVE): 0:(540.0,1792.0) [Fastbot][2023-11-13 16:53:05.994] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.021] :Sending Touch (ACTION_MOVE): 0:(540.0,1910.0) [Fastbot][2023-11-13 16:53:06.029] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.055] :Sending Touch (ACTION_MOVE): 0:(540.0,2028.0) [Fastbot][2023-11-13 16:53:06.064] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.091] :Sending Touch (ACTION_MOVE): 0:(540.0,2146.0) [Fastbot][2023-11-13 16:53:06.098] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.125] :Sending Touch (ACTION_MOVE): 0:(540.0,2264.0) [Fastbot][2023-11-13 16:53:06.131] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.158] :Sending Touch (ACTION_MOVE): 0:(540.0,2382.0) [Fastbot][2023-11-13 16:53:06.164] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.190] :Sending Touch (ACTION_UP): 0:(540.0,2500.0) [Fastbot][2023-11-13 16:53:06.200] Sleeping for 558 milliseconds [Fastbot][2023-11-13 16:53:06.772] // Event id: 259 [Fastbot][2023-11-13 16:53:06.775] action type: SCROLL_BOTTOM_UP [Fastbot][2023-11-13 16:53:06.775] rpc cost time: 1 [Fastbot][2023-11-13 16:53:06.777] event time:11 [Fastbot][2023-11-13 16:53:06.778] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:06.798] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:06.802] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:06.805] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.829] :Sending Touch (ACTION_MOVE): 0:(540.0,1200.0) [Fastbot][2023-11-13 16:53:06.832] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.855] :Sending Touch (ACTION_MOVE): 0:(540.0,1080.0) [Fastbot][2023-11-13 16:53:06.857] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.881] :Sending Touch (ACTION_MOVE): 0:(540.0,960.0) [Fastbot][2023-11-13 16:53:06.884] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.908] :Sending Touch (ACTION_MOVE): 0:(540.0,840.0) [Fastbot][2023-11-13 16:53:06.912] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.936] :Sending Touch (ACTION_MOVE): 0:(540.0,720.0) [Fastbot][2023-11-13 16:53:06.940] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.963] :Sending Touch (ACTION_MOVE): 0:(540.0,600.0) [Fastbot][2023-11-13 16:53:06.966] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:06.990] :Sending Touch (ACTION_MOVE): 0:(540.0,480.0) [Fastbot][2023-11-13 16:53:06.993] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:07.017] :Sending Touch (ACTION_MOVE): 0:(540.0,360.0) [Fastbot][2023-11-13 16:53:07.020] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:07.045] :Sending Touch (ACTION_MOVE): 0:(540.0,240.0) [Fastbot][2023-11-13 16:53:07.049] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:07.075] :Sending Touch (ACTION_UP): 0:(540.0,136.0) [Fastbot][2023-11-13 16:53:07.080] Sleeping for 545 milliseconds [Fastbot][2023-11-13 16:53:07.634] // Event id: 283 [Fastbot][2023-11-13 16:53:07.637] action type: SCROLL_LEFT_RIGHT [Fastbot][2023-11-13 16:53:07.638] rpc cost time: 2 [Fastbot][2023-11-13 16:53:07.640] event time:10 [Fastbot][2023-11-13 16:53:07.641] :Sending rotation degree=0, persist=false [Fastbot][2023-11-13 16:53:07.662] :Sending Touch (ACTION_DOWN): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:07.666] :Sending Touch (ACTION_MOVE): 0:(540.0,1320.0) [Fastbot][2023-11-13 16:53:07.670] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:07.693] :Sending Touch (ACTION_MOVE): 0:(593.9,1320.0) [Fastbot][2023-11-13 16:53:07.697] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:07.721] :Sending Touch (ACTION_MOVE): 0:(647.8,1320.0) [Fastbot][2023-11-13 16:53:07.724] Wait Event for 20 milliseconds [Fastbot][2023-11-13 16:53:07.748] :Sending Touch (ACTION_MOVE): 0:(701.7,1320.0) [Fastbot][2023-11-13 16:53:07.751] Wait Event for 20 milliseconds [

`

clM9186 commented 7 months ago

我也遇到了用样的问题,该配的文件都配了 自定义事件序列就是不起作用

Devi1LL commented 7 months ago

我设置times 10,运行情况像是随机click10次,没有点击指定xpath控件

taisiting commented 1 month ago

遇到一样的问题 没有生效