请先选择标签
问题描述:场景是一个上传文件,有5个地方需要操作,但是实际写下来前面3个都没问题,第四个日志显示执行了,但是页面未操作,第五个也是一样,日志没有报错
我后面去把前面三个步骤关掉,直接执行第四步第五步又是可以的
Server版本:2.4.2
Agent版本与部署方式:2.4.2,jar
手机型号与系统版本:华为mate30
截图:

相关日志:
[sonic-driver-core] 2023-05-26 12:07:15 [INFO] find element successful.
[sonic-driver-core] 2023-05-26 12:07:15 [INFO] click element 00000000-0000-0814-0000-8d870000000e.
2023-05-26 12:07:15.202 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击会议日程","log":"点击xpath: //android.webkit.WebView/android.view.View[1]/android.view.View/android.view.View[2]/android.view.View[2]/android.widget.Button","time":"12:07:15","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:15.202 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:15","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:16.205 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」开始执行","log":"","time":"12:07:16","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:16.205 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:16","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:17.278 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择文件坐标","log":"点击坐标(270,1996)","time":"12:07:17","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:17.278 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:17","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:18.320 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击文件二级坐标","log":"点击坐标(675,2102)","time":"12:07:18","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:19.359 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择添加文件后文件坐标","log":"点 击坐标(540,1232)","time":"12:07:19","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:19.360 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:19","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:19.360 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」执行完毕","log":"","time":"12:07:19","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:19.360 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:19","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:21.362 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"强制等待","log":"等待1000 ms","time":"12:07:21","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:21.362 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:21","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
[sonic-driver-core] 2023-05-26 12:07:22 [INFO] find element successful.
[sonic-driver-core] 2023-05-26 12:07:22 [INFO] click element 00000000-0000-0814-0000-8d960000000e.
2023-05-26 12:07:22.615 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击及县销售公司市场活动申请单","log":"点击xpath: //android.webkit.WebView/android.view.View[1]/android.view.View/android.view.View[2]/android.view.View[5]/android.widget.Button","time":"12:07:22","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:22.615 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:22","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:23.618 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」开始执行","log":"","time":"12:07:23","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:23.618 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:23","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:24.686 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择文件坐标","log":"点击坐标(270,1996)","time":"12:07:24","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:24.686 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:24","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:25.727 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击文件二级坐标","log":"点击坐标(675,2102)","time":"12:07:25","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:26.768 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择添加文件后文件坐标","log":"点 击坐标(540,1232)","time":"12:07:26","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:26.768 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:26","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:26.769 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」执行完毕","log":"","time":"12:07:26","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:26.769 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:26","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:28.771 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"强制等待","log":"等待1000 ms","time":"12:07:28","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:28.771 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:28","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
[sonic-driver-core] 2023-05-26 12:07:29 [INFO] find element successful.
[sonic-driver-core] 2023-05-26 12:07:30 [INFO] click element 00000000-0000-0814-0000-8da50000000e.
2023-05-26 12:07:30.017 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击会议通知","log":"点击xpath: //android.webkit.WebView/android.view.View[1]/android.view.View/android.view.View[2]/android.view.View[8]/android.widget.Button","time":"12:07:30","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:30.017 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:30","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:31.019 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」开始执行","log":"","time":"12:07:31","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:31.019 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:31","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:32.091 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择文件坐标","log":"点击坐标(270,1996)","time":"12:07:32","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:32.091 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:32","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:33.133 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击文件二级坐标","log":"点击坐标(675,2102)","time":"12:07:33","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:34.176 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择添加文件后文件坐标","log":"点 击坐标(540,1232)","time":"12:07:34","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:34.176 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:34","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:34.177 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」执行完毕","log":"","time":"12:07:34","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:34.177 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:34","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:36.178 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"强制等待","log":"等待1000 ms","time":"12:07:36","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:36.178 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:36","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
[sonic-driver-core] 2023-05-26 12:07:37 [INFO] find element successful.
[sonic-driver-core] 2023-05-26 12:07:37 [INFO] click element 00000000-0000-0814-0000-8db40000000e.
2023-05-26 12:07:37.354 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击招商函","log":"点击xpath: //android.webkit.WebView/android.view.View[1]/android.view.View/android.view.View[2]/android.view.View[11]/android.widget.Button","time":"12:07:37","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:37.355 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:37","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:38.357 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」开始执行","log":"","time":"12:07:38","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:38.357 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:38","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:39.431 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择文件坐标","log":"点击坐标(270,1996)","time":"12:07:39","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:39.431 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤通过,开始执行子步骤","log":"","time":"12:07:39","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:40.504 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击文件二级坐标","log":"点击坐标(675,2102)","time":"12:07:40","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:41.575 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击选择添加文件后文件坐标","log":"点 击坐标(540,1232)","time":"12:07:41","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:41.576 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:41","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:41.577 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「文件上传」执行完毕","log":"","time":"12:07:41","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:41.578 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」子步骤执行完毕","log":"","time":"12:07:41","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:43.581 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"强制等待","log":"等待1000 ms","time":"12:07:43","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:07:43.581 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"12:07:43","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
[sonic-driver-core] 2023-05-26 12:07:44 [ERROR] element not found. retried 1 times, retry in 3000 ms.
[sonic-driver-core] 2023-05-26 12:07:47 [ERROR] element not found. retried 2 times, retry in 3000 ms.
[sonic-driver-core] 2023-05-26 12:07:51 [ERROR] element not found. retried 3 times, retry in 3000 ms.
[sonic-driver-core] 2023-05-26 12:07:54 [ERROR] element not found. retried 4 times, retry in 3000 ms.
[sonic-driver-core] 2023-05-26 12:07:57 [ERROR] element not found. retried 5 times, retry in 3000 ms.
2023-05-26 12:07:57.519 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤「点击委托函」异常","log":" 点击xpath: //android.webkit.WebView/android.view.View[1]/android.view.View/android.view.View[2]/android.view.View[14]/android.widget.Button","time":"12:07:57","rid":0,"udId":"XPL5T20103000005","status":4,"cid":0}
2023-05-26 12:07:57.522 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"","log":"异常信息: org.cloud.sonic.driver.common.tool.SonicRespException: An element could not be located on the page using the given search parameters","time":"12:07:57","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:07:57.527 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤执行失败,跳过","log":"","time":"12:07:57","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
[sonic-driver-core] 2023-05-26 12:07:58 [INFO] find element successful.
[sonic-driver-core] 2023-05-26 12:07:58 [INFO] click element 00000000-0000-0814-0000-8d690000000e.
2023-05-26 12:07:58.783 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击履行文件返回会议详情页","log":"点 击xpath: //android.webkit.WebView/android.view.View[1]/android.view.View/android.view.View[1]/android.view.View[2]","time":"12:07:58","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:08:02.786 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"强制等待","log":"等待3000 ms","time":"12:08:02","rid":0,"udId":"XPL5T20103000005","status":2,"cid":0}
2023-05-26 12:08:02.786 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"公共步骤「履行文件上传」执行完毕","log":"","time":"12:08:02","rid":0,"udId":"XPL5T20103000005","status":3,"cid":0}
2023-05-26 12:08:02.786 - INFO 22352 --- [android-run-step-task-0-27-XPL5T20103000005] org.cloud.sonic.agent.tests.LogUtil : {"msg":"status","des":"","log":"","time":"12:08:02","rid":0,"udId":"XPL5T20103000005","status":1,"cid":0}
如果是开发环境,请加上【开发环境】标签