Poco
Poco copied to clipboard
A cross-engine test automation framework based on UI inspection
**pocoservice无法加载微信内打开的网页的UI树** 目前我的软件需求是自动在微信会话窗口中输入链接,然后点击链接进入页面内查看内容。 当使用poco点击链接后,无法加载出对应网页的UI树,有时甚至会导致pocoservice的崩溃 经测试发现在网页加载后,使用adb 命令重启pocoservice可以加载出网页的完整UI树,但是此类操作非常容易导致异常报错 **复现步骤** 1. 打开微信会话窗口,进入文件传输助手 2. 输入'https://www.baidu.com' 3. 执行测试代码 > `# -*- encoding=utf8 -*- > > from poco.drivers.android.uiautomation import AndroidUiautomationPoco > from time import sleep > from...
VR in method name is uppercase in poco-SDK ([PocoManager.cs](https://github.com/AirtestProject/Poco-SDK/blob/master/Unity3D/PocoManager.cs)) rpc.addRpcMethod("isVRSupported", vr_support.isVRSupported);
:bulb:**相关项目:** Poco **标题:** [BUG提交]Poco导出的UI树上少了一些组件 **AirtestIDE版本:** 1.2.12 **未使用本地Pyhton环境运行脚本** **报错描述:** Poco导出的UI树组件有些问题,少了或者多了一些其他的组件。 **相关截图:**   **报错Log:** ``` 无 ``` **连接设备信息:** 无 **提供最小可复现此BUG的代码:** ``` 没有代码,直接连接项目的,确定Airtest上的Poco更新时间是最新的,但是找不到组件 ```
#492 poco版本已升级至1.0.84,滑动过快问题还是会偶现,目前看下来只在android模拟器上会有此问题,真机上没问题。 https://user-images.githubusercontent.com/91251406/145369138-6f13d329-28b1-4989-9c04-b40d98752286.mp4
poco库报错 -> 此仓库 文件: poco/utils/airtest/screen.py  **描述问题bug** 1. savepath数据类型为dict, 导致open(savepath,"rb)报类型错误 报错信息:  ``` ``` **复现步骤** 1. 连接ios手机,生成iOSPoco对象,使用poco.snapshot方法进行截屏 from poco.drivers.ios import iosPoco poco = iosPoco() poco.snapshot() **预期效果** 预期获取返回值为一个元组,包含数图片数据和图片格式 **相关截图** 无 **python...
描述问题bug for i in range(1000000): start = time.perf_counter() if poco('包名:id/iv_answer_red_pack').exists(): one = ('包名:id/txt_select_one') two = ('包名:id/txt_select_tow') l = [one, two] poco(random.choice(l)).click() end = time.perf_counter() c = end - start print('运行时间间隔:',...
poco.click() stops working after a while. To fix this, you have to click with the mouse in the emulator. Tried cap_method=JAVACAP&&ori_method=MINICAPORI&&touch_method=ADBTOUCH and cap_method=JAVACAP&&ori_method=MINICAPORI&&touch_method=MINITOUCH **Emulator:** `Memu` **python version:** `python3.8.5` **poco version:**...
设备型号:SM-N9600 poco版本:  输入  实际结果:点击坐标失败
通过poco.agent.rpc.call 方法调用了自己注册的函数test (只是返回了一个string) 但是返回值的是 (rid=3901de36-f62e-471e-8021-69dbfaaa4550) (connection="tcp://127.0.0.1:13177") 我应该如何解析这个东西呢?
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * 控件识别、树状结构、poco库报错 **描述问题bug** FGUI的List组件在滑动操作之后,子物体的位置不会更新,还是滑动之前的位置 **复现步骤** 1. 用FGUI创建一个List组件 2. 往组件内添加一些子物体 3. 用Airtest滑动操作,然后获取List的子物体位置都不对了 **预期效果** List滑动后应该子物体的位置也能更新 **python 版本:** AirtestIDE自带的python版本 **poco 版本:** 最新版 **设备:** - 型号: Unity Game视图 - 系统: Windows