AirtestProject / AirtestProject/Poco

android 12.0 的系统,PocoNoSuchNodeException

Offen
#561 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
2k
Forks
341
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

**(重要!问题分类)**
* 图像识别相关问题 -> https://github.com/AirtestProject/Airtest/issues
* 测试开发环境AirtestIDE使用问题 -> https://github.com/AirtestProject/AirtestIDE/issues
* 控件识别、树状结构、poco库报错 -> 此仓库

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

```
报错信息:
poco.exceptions.PocoNoSuchNodeException: Cannot find any visible node by query UIObjectProxy of "com.mesa.android.avatalk:id/Login"

```

**复现步骤**
poco("com.mesa.android.avatalk:id/Login").click()
poco(text="Phone").click()

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

**相关截图**
(贴出遇到问题时的截图内容,如果有的话)
![image](https://user-images.githubusercontent.com/58102925/185586235-90a1f8b5-c694-45ce-a1d5-0f45387a1ec7.png)

**python 版本:** `python2.7`

**poco 版本:** `1.0.69`
> poco版本通过`pip freeze`可以命令可以查到

**设备:**
- 型号: [e.g. google pixel 4]
- 系统: [e.g. Android 12.0]
- 三星 Android 12.0
- (别的信息)

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.