Poco
Poco copied to clipboard
A cross-engine test automation framework based on UI inspection
**描述问题bug** 某个对象有225个子对象,访问该对象的第一个子对象耗时将近一个小时 ``` [rpc]connected clientUnit_arts/avatar ---------------------------------------------------------------------- Ran 1 test in 3067.962s ``` **复现步骤** poco = UnityPoco(('localhost', 5001), unity_editor=True) clientUnits = poco('ClientUnits') items = clientUnits.children() print(items[0].get_name()) **预期效果** 耗时短点 **相关截图** (贴出遇到问题时的截图内容,如果有的话) **python...
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * 图像识别相关问题 -> https://github.com/AirtestProject/Airtest/issues * 测试开发环境AirtestIDE使用问题 -> https://github.com/AirtestProject/AirtestIDE/issues * 控件识别、树状结构、poco库报错 -> 此仓库 **描述问题bug** (简洁清晰得概括一下遇到的问题是什么。或者是报错的traceback信息。) 使用poco\utils\airtest\screen.py的getScreen方法报错。 airtest:1.0.25 pocoui:1.0.72 def getScreen(self, width): savepath = snapshot() ####此处调用airtest api snapshot 未传入filename return...
APP9.1及之前版本使用targetSdkVersion 设为 API 级别 26,airtestide正常识别元素 因需求变更,targetSdkVersion需要升级为28 APP9.2版本使用targetSdkVersion 设为 API 级别 28,airtestide无法正常识别元素
pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' still waiting for uiautomation ready. still waiting for uiautomation ready. still waiting for uiautomation ready....
 
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **描述问题bug** (简洁清晰得概括一下遇到的问题是什么。或者是报错的traceback信息。) pocoservice.apk出现crash 导致测试异常不再测试 ``` (在这里粘贴traceback或其他报错信息): [pocoservice.apk] stdout: INSTRUMENTATION_RESULT: shortMsg=Process crashed. INSTRUMENTATION_CODE: 0 [pocoservice.apk] stderr: still waiting for uiautomation ready. [pocoservice.apk] stdout: com.netease.open.pocoservice.InstrumentedTestAsLauncher:INSTRUMENTATION_RESULT: shortMsg=Process crashed. INSTRUMENTATION_CODE: 0 [pocoservice.apk] stderr:...
支付宝小程序的规模也越来越大,我们也有支付宝小程序,能否考虑加入对支付宝小程序的支持呢?🤞
### **Specs:** - Device: iPad mini 2. - iOS: 12.5.4 - Poco version: 1.0.82 (Not sure) - Using Poco with Cocos-lua ### **Description:** An exception of Socket connection error or...
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * 控件识别 **描述问题bug** 点击、滑动无效, 并且在点击、滑动的时候, 会将 android 的顶部菜单栏拉下来一点, 然后恢复, 看着像是 模拟点击的时候, 是从顶部的某个点按下,然后移动到了目标点(即 click 或者 swipe 的起点) 导致的 ``` (在这里粘贴traceback或其他报错信息) ``` **复现步骤** swipe((516,1465),(516,1120)) **预期效果** 模拟手指上滑, 展现屏幕下面的内容 **相关截图** 无 **python...
问题: 一些app的渲染树会出现多个Activity中的**控件并存**, 这样对脚本中poco调用控件很不友好, 有时会识别到上一个Activity中的控件并加以操作(例如: 上一个Activity中poco(text="xxx")也存在, 但我要的是当前Activity中的poco(text="xxx") ), 导致当前Activity中的预期操作位置与实际操作位置不符. 需求: 如果可以手动重启Poco Service, 是不是可以实现只获取当前Activity的控件? 之前Activity中的控件通过重启Poco Service而消失不见, 只存在当前Activity中的控件?