AirtestProject / Poco

A cross-engine test automation framework based on UI inspection
http://airtest.netease.com/
Apache License 2.0
1.74k stars 313 forks source link

问题分类: 控件识别、树状结构、poco库报错 #615

Open KnocKit-off opened 2 months ago

KnocKit-off commented 2 months ago

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)

(重要!问题分类)

描述问题bug (简洁清晰得概括一下遇到的问题是什么。或者是报错的traceback信息。)

(在这里粘贴traceback或其他报错信息)

复现步骤

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

预期效果 (预期想要得到什么、见到什么)

相关截图 (贴出遇到问题时的截图内容,如果有的话)

python 版本: python2.7

poco 版本: 1.0.69

poco版本通过pip freeze可以命令可以查到

设备:

其他相关环境信息 (其他运行环境,例如在linux ubuntu16.04上运行异常,在windows上正常。)

KnocKit-off commented 2 months ago

DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input [17:13:24][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger [17:13:24][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input [17:13:27][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger [17:13:27][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input [17:13:30][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger [17:13:30][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input [17:13:34][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger [17:13:34][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input [17:13:37][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger DEBUG:airtest.core.android.adb:/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys SurfaceFlinger [17:13:37][DEBUG] /Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 127.0.0.1:5555 shell dumpsys input

KnocKit-off commented 2 months ago

执行用户会一直执行dumpsys input 与 dumpsys SurfaceFlinger 且不会继续执行用例 pocoui版本1.0.94