设备信息
手机系统:android 12
手机型号:小米11
配置actions
[
{
"prob": 1,
"activity": "com.xxx.xxx.sdk.login.ui.LoginActivity",
"times": 1,
"actions": [
{
"xpath": "com.xxx.xxx/btn_agree",
"action": "CLICK",
"throttle": 2000
},
{
"xpath": "com.xxx.xxx/login_protocol_checkbox",
"action": "CLICK",
"throttle": 2000
},
{
"xpath": "com.xxx.xxx/login_with_email_and_password",
"action": "CLICK",
"throttle": 3000
},
{
"xpath": "//android.widget.EditText[@resource-id='email']",
"action": "CLICK",
"text": "18516121800",
"clearText": false,
"throttle": 2000
},
{
"xpath": "//android.widget.EditText[@resource-id='password']",
"action": "CLICK",
"text": "Woa@123456",
"clearText": false,
"throttle": 2000
},
{
"xpath": "new UiSelector().text('点击按钮开始验证')",
"action": "CLICK",
"throttle": 2000
},
{
"xpath": "new UiSelector().text('验证成功')",
"action": "CLICK",
"throttle": 2000
},
{
"xpath": "new UiSelector().text('立即登录')",
"action": "CLICK",
"throttle": 2000
},
{
"xpath": "new UiSelector().text('xxx')",
"action": "CLICK",
"throttle": 2000
}
]
}
]
报错日志
Fastbot][2022-07-22 15:53:03.863] // Allowing start of Intent { cmp=xxx.xxx.xxx/xxx.xxx.xxx.sdk.login.ui.LoginActivity } in package xxx.xxx.xxx
[Fastbot][2022-07-22 15:53:03.864] // the top activity is xxx.xxx.xxx.sdk.login.ui.LoginActivity, phone capture activity is com.android.camera.Camera
[Fastbot][2022-07-22 15:53:03.864] // Allowing start of Intent { cmp=xxx.xxx.xxx/com.xxx.xxx.xxx.login.ui.LoginActivity } in package xxx.xxx.xxx
[Fastbot][2022-07-22 15:53:05.772] // current activity is xxx.xxx.xxx.login.ui.LoginActivity
[Fastbot][2022-07-22 15:53:05.787] // Eventid: 3
[Fastbot][2022-07-22 15:53:05.807] action type: CLICK
[Fastbot][2022-07-22 15:53:05.807] rpc cost time: 14
[Fastbot][2022-07-22 15:53:05.809] event time:33
[Fastbot][2022-07-22 15:53:05.809] :Sending rotation degree=0, persist=false
[Fastbot][2022-07-22 15:53:05.820] :Sending Touch (ACTION_DOWN): 0:(727.0,2873.0)
[Fastbot][2022-07-22 15:53:05.829] :Sending Touch (ACTION_UP): 0:(727.0,2873.0)
[Fastbot][2022-07-22 15:53:05.832] Sleeping for 260 milliseconds
[Fastbot][2022-07-22 15:53:06.105] // Eventid: 7
[Fastbot][2022-07-22 15:53:06.111] action type: SCROLL_LEFT_RIGHT
[Fastbot][2022-07-22 15:53:06.111] rpc cost time: 2
[Fastbot][2022-07-22 15:53:06.115] event time:16
[Fastbot][2022-07-22 15:53:06.115] :Sending rotation degree=0, persist=false
[Fastbot][2022-07-22 15:53:06.133] :Sending Touch (ACTION_DOWN): 0:(720.0,1592.0)
[Fastbot][2022-07-22 15:53:06.136] :Sending Touch (ACTION_MOVE): 0:(720.0,1592.0)
[Fastbot][2022-07-22 15:53:06.138] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.161] :Sending Touch (ACTION_MOVE): 0:(791.9,1592.0)
[Fastbot][2022-07-22 15:53:06.162] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.185] :Sending Touch (ACTION_MOVE): 0:(863.8,1592.0)
[Fastbot][2022-07-22 15:53:06.187] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.209] :Sending Touch (ACTION_MOVE): 0:(935.7,1592.0)
[Fastbot][2022-07-22 15:53:06.212] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.234] :Sending Touch (ACTION_MOVE): 0:(1007.6,1592.0)
[Fastbot][2022-07-22 15:53:06.237] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.259] :Sending Touch (ACTION_MOVE): 0:(1079.5,1592.0)
[Fastbot][2022-07-22 15:53:06.261] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.284] :Sending Touch (ACTION_MOVE): 0:(1151.4,1592.0)
[Fastbot][2022-07-22 15:53:06.286] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.309] :Sending Touch (ACTION_MOVE): 0:(1223.3,1592.0)
[Fastbot][2022-07-22 15:53:06.311] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.334] :Sending Touch (ACTION_MOVE): 0:(1295.2,1592.0)
[Fastbot][2022-07-22 15:53:06.336] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.359] :Sending Touch (ACTION_MOVE): 0:(1367.1,1592.0)
[Fastbot][2022-07-22 15:53:06.361] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:06.384] :Sending Touch (ACTION_UP): 0:(1439.0,1592.0)
[Fastbot][2022-07-22 15:53:06.387] Sleeping for 271 milliseconds
[Fastbot][2022-07-22 15:53:06.669] // Eventid: 31
[Fastbot][2022-07-22 15:53:06.673] action type: CLICK
[Fastbot][2022-07-22 15:53:06.673] rpc cost time: 2
[Fastbot]*** WARNING *** checkVirtualKeyboard: Input only once.
[Fastbot][2022-07-22 15:53:06.676] event time:11
[Fastbot][2022-07-22 15:53:06.676] :Sending rotation degree=0, persist=false
[Fastbot][2022-07-22 15:53:06.703] :Sending Touch (ACTION_DOWN): 0:(783.0,1553.0)
[Fastbot][2022-07-22 15:53:06.706] :Sending Touch (ACTION_UP): 0:(783.0,1553.0)
[Fastbot][2022-07-22 15:53:06.709] Sleeping for 271 milliseconds
[Fastbot][2022-07-22 15:53:06.988] // Eventid: 35
[Fastbot][2022-07-22 15:53:06.992] action type: SCROLL_RIGHT_LEFT
[Fastbot][2022-07-22 15:53:06.994] rpc cost time: 3
[Fastbot][2022-07-22 15:53:06.996] event time:11
[Fastbot][2022-07-22 15:53:06.997] :Sending rotation degree=0, persist=false
[Fastbot][2022-07-22 15:53:07.020] :Sending Touch (ACTION_DOWN): 0:(720.0,1592.0)
[Fastbot][2022-07-22 15:53:07.022] :Sending Touch (ACTION_MOVE): 0:(720.0,1592.0)
[Fastbot][2022-07-22 15:53:07.024] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.047] :Sending Touch (ACTION_MOVE): 0:(648.0,1592.0)
[Fastbot][2022-07-22 15:53:07.050] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.072] :Sending Touch (ACTION_MOVE): 0:(576.0,1592.0)
[Fastbot][2022-07-22 15:53:07.074] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.096] :Sending Touch (ACTION_MOVE): 0:(504.0,1592.0)
[Fastbot][2022-07-22 15:53:07.097] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.119] :Sending Touch (ACTION_MOVE): 0:(432.0,1592.0)
[Fastbot][2022-07-22 15:53:07.121] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.143] :Sending Touch (ACTION_MOVE): 0:(360.0,1592.0)
[Fastbot][2022-07-22 15:53:07.145] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.167] :Sending Touch (ACTION_MOVE): 0:(287.99997,1592.0)
[Fastbot][2022-07-22 15:53:07.168] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.190] :Sending Touch (ACTION_MOVE): 0:(216.0,1592.0)
[Fastbot][2022-07-22 15:53:07.192] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.214] :Sending Touch (ACTION_MOVE): 0:(144.0,1592.0)
[Fastbot][2022-07-22 15:53:07.218] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.241] :Sending Touch (ACTION_MOVE): 0:(72.0,1592.0)
[Fastbot][2022-07-22 15:53:07.245] Wait Event for 20 milliseconds
[Fastbot][2022-07-22 15:53:07.267] :Sending Touch (ACTION_UP): 0:(0.0,1592.0)
[Fastbot][2022-07-22 15:53:07.271] Sleeping for 271 milliseconds
[Fastbot][2022-07-22 15:53:07.560] // Eventid: 59
[Fastbot][2022-07-22 15:53:07.565] action type: LONG_CLICK
[Fastbot][2022-07-22 15:53:07.565] rpc cost time: 2
[Fastbot][2022-07-22 15:53:07.568] event time:23