Poco icon indicating copy to clipboard operation
Poco copied to clipboard

A cross-engine test automation framework based on UI inspection

Results 153 Poco issues
Sort by recently updated
recently updated
newest added

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * 图像识别相关问题 -> https://github.com/AirtestProject/Airtest/issues * 测试开发环境AirtestIDE使用问题 -> https://github.com/AirtestProject/AirtestIDE/issues * 控件识别、树状结构、poco库报错 -> 此仓库 **描述问题bug** Airtest默认端口5001经常被Unity占用导致poco UI树刷新不出来 **复现步骤** 1. 启动Airtest 2. 启动Unity 3. 使用Airtest设备窗选中拖拽出来的Unity Game窗口 4. 运行Unity 5. 在Airtest中没有显示poco UI树...

:bulb:**相关项目:** Poco **标题:** [BUG提交]关于百度网盘升级到v11.20.10后,poco报错的问题 **AirtestIDE版本:** 1.2.13 **未使用本地Pyhton环境运行脚本** **报错描述:**     在测试百度网盘v11.20.10时,poco控件无法正常刷新控件树,poco控件判断语法同时也会抛出异常。该问题是在将百度网盘更新至v11.20.10时出现的,在更新前测试均正常,正常版本由于未记录暂不清楚版本号。 **相关截图:** ![](https://hfc20-issue-helper.s3.nie.netease.com/media/2022/03/30/270/%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98.png) **报错Log:** ``` 无 ``` **连接设备信息:** 设备类型 | 设备型号 | 系统版本号 | apk名称/下载链接 ------------ | ------------- | ------------- | -------------...

pocoui 1.0.85 \drivers\unity3d\test\tutorial\wait_all_ui.py文件中类名是WaitAnyUITutorial,但该类应该是wait_for_all()的教程,所以类名应该是WaitAllUITutorial 这应该是直接从wait_for_any()复制过来,漏改了

**描述问题bug** 在默认头文件的情况下,push命令无法使用 `from airtest.core.api import * auto_setup(__file__) from poco.drivers.android.uiautomation import AndroidUiautomationPoco poco = AndroidUiautomationPoco(use_airtest_input=True, screenshot_each_action=False) push("E:/AirtestScript/android-cts-verifier-12/NotificationBot.apk", "/sdcard") ` 报错:NameError: name 'push' is not defined **额外导入android.adb可以解决** from airtest.core.android.adb import ADB def...

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * 控件识别、树状结构、poco库报错 **描述问题bug** 编写的脚本任务是爬取评论,当脚本长时间执行的时候,airtest会报RpcRemoteException,短时间执行不会出错。 ``` ====================================================================== ERROR: runTest (app.widgets.code_runner.ide_launcher.AirtestIDECase) ---------------------------------------------------------------------- Traceback (most recent call last): File "airtest\cli\runner.py", line 65, in runTest File "site-packages\six.py", line 693, in reraise File...

**描述问题bug** 在命令行通过python运行脚本,无法执行poco(Android)相关命令,报错如下: ``` E:\Airtest_Pack>"E:\python-3.7\python.exe" -u "E:\AirtestIDE\sample\custom_launcher.py" "E:\Airtest_Pack\PackTest.air" do not connect device do not save log custom setup [17:42:53][DEBUG] C:\Users\huchengbo01\AppData\Roaming\Python\Python37\site-packages\airtest\core\android\static\adb\windows\adb.exe devices [17:42:54][DEBUG] C:\Users\huchengbo01\AppData\Roaming\Python\Python37\site-packages\airtest\core\android\static\adb\windows\adb.exe devices [17:42:54][DEBUG] C:\Users\huchengbo01\AppData\Roaming\Python\Python37\site-packages\airtest\core\android\static\adb\windows\adb.exe -s HA1KZ12K wait-for-device [17:42:55][DEBUG] C:\Users\huchengbo01\AppData\Roaming\Python\Python37\site-packages\airtest\core\android\static\adb\windows\adb.exe...

**描述问题bug** 1、mac OS Monterey + python3.7 + poco 1.0.85 单步调试 freeze 会崩掉 ![image](https://user-images.githubusercontent.com/26136134/154431403-18eaf396-26d0-4eb3-a81d-e2c53a9ef211.png) 2、项目运行freeze方法,会出现 [Errno 32] Broken pipe ![image](https://user-images.githubusercontent.com/26136134/154431385-1753463f-4ff1-4474-9129-0ff86ac16f33.png) ![image](https://user-images.githubusercontent.com/26136134/154432785-ba765b23-a814-4133-b821-595780e5b996.png) ``` (在这里粘贴traceback或其他报错信息) ``` **复现步骤** 1. 单步调试 freeze 2.hierarchy_dict = this.agent.hierarchy.dump()...

我修改了Poco-SDK中cocos creator中的API,以适应3.x版本,但是Airtest中并没有相应选项,选择cocos2dx-js也无法查看到元素, 请问我还需要怎么做才可以 补充:项目语言为TS

:bulb:**相关项目:** Poco **标题:** [BUG提交]poco不能准确展示当前页面的UI树,选择元素定位是错的。(airtest库的版本是1.2.4,不是1.2.3) **AirtestIDE版本:** m1 macbook pro,IDE版本1.2.13 - [x] **使用了本地Pyhton环境运行脚本** - Python版本: 3.6.8 - Airtest版本: v1.2.3 **报错描述:**     首先 airtest库的版本是1.2.4,不是1.2.3,因为最多只能填1.2.3 问题描述:一个表单页面,进入后第一个屏幕能识别到元素。 往下滑动之后,元素识别都是有问题的啊。 都不对导致跑脚本的时候都找不到 **相关截图:** ![](https://hfc20-issue-helper.s3.nie.netease.com/media/2022/02/16/236/image.png) ![](https://hfc20-issue-helper.s3.nie.netease.com/media/2022/02/16/236/9a0eb3c55b2fbf39bc18dc9f09059ee5.jpg) ![](https://hfc20-issue-helper.s3.nie.netease.com/media/2022/02/16/236/image_5QK8gEC.png) ![](https://hfc20-issue-helper.s3.nie.netease.com/media/2022/02/16/236/image_bOUWmW8.png) ![](https://hfc20-issue-helper.s3.nie.netease.com/media/2022/02/16/236/image_r4rLclU.png) **报错Log:**...