问题描述:Linux 版Agent 接入设备执行用例遇到图片定位会直接结束,windows版的不会
Server版本:2.0.5
Agent版本与部署方式:2.0.5 linux jar包启动
手机型号与系统版本:任意手机
截图:
windows


linux


相关日志:
linu日志:
2022-12-14 09:07:52.071 - INFO 6927 --- [WebSocketConnectReadThread-47] o.c.s.agent.transport.TransportClient : Agent <- Server message: {"msg":"runStep","pf":1,"waitForTimeout":0,"gp":{},"sessionId":"95","pwd":"","udId":"ALAP9K2627903061","steps":[{"step":{"stepType":"sendKeys","caseId":868,"elements":[{"eleType":"xpath","eleValue":"//android.widget.EditText[@resource-id='com.lanyou.base.ilink:id/met_login_account']","id":2514,"tagName":"","eleName":"手机号栏","projectId":20}],"conditionType":0,"id":12111,"sort":10332,"text":"","error":3,"projectId":20,"content":"18888888888","parentId":0,"platform":1}},{"step":{"stepType":"clickByImg","caseId":868,"elements":[{"eleType":"image","eleValue":"http://172.26.137.179:8094/api/folder/keepFiles/20221212/fc6add47-999d-4c45-8522-bfeb22253589.jpg","id":2513,"eleName":"密码登陆-图片","projectId":20}],"conditionType":0,"id":12108,"sort":10333,"text":"","error":3,"projectId":20,"content":"","parentId":0,"platform":1}},{"step":{"stepType":"sendKeys","caseId":868,"elements":[{"eleType":"xpath","eleValue":"//android.widget.EditText[@resource-id='com.lanyou.base.ilink:id/met_login_password']","id":2515,"tagName":"","eleName":"密码栏","projectId":20}],"conditionType":0,"id":12112,"sort":10334,"text":"","error":3,"projectId":20,"content":"123456","parentId":0,"platform":1}}],"cid":868}
[sonic-driver-core] 2022-12-14 09:07:52 [INFO] find element successful.
[sonic-driver-core] 2022-12-14 09:07:53 [INFO] send key to 00000000-0000-0084-ffff-ffff00000055.
2022-12-14 09:07:53.468 - INFO 6927 --- [android-run-step-task-0-868-ALAP9K2627903061] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"对手机号栏输入内容","log":"对xpath: //android.widget.EditText[@resource-id='com.lanyou.base.ilink:id/met_login_account'] 输入: 18888888888","sort":0,"time":"09:07:53","rid":0,"udId":"ALAP9K2627903061","status":2,"cid":0}
[sonic-driver-core] 2022-12-14 09:07:54 [INFO] get screenshot.
2022-12-14 09:07:54.185 - INFO 6927 --- [android-run-step-task-0-868-ALAP9K2627903061] org.cloud.sonic.agent.tests.LogUtil : {"msg":"status","des":"","log":"","sort":0,"time":"09:07:54","rid":0,"udId":"ALAP9K2627903061","status":1,"cid":0}