Poco
Poco copied to clipboard
A cross-engine test automation framework based on UI inspection
使用airTestIDE查看flutter页面元素信息,默认name和desc属性对应flutter页面的文案,缺少text属性,导致无法校验指定元素的文案是否符合预期; 通过给元素添加testId,发现name和desc属性都会由文案变为添加的testId,还是无法指定元素id校验元素文案。QQ支持群中了解到poco目前不支持flutter?后续是否有支持计划? airTestIDE版本:1.2.13 poco版本:1.0.84 
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...
**Describe the bug** Not able to retrieve UI hierarchy of the game which is based on unity. ``` **Expected behavior** UI hierarchy of the game should be displayed **Screenshot** **python...
集成完poco-sdk后,能获取到UI树,但是我点击按钮报select invalid payload 
**描述问题bug** 在AirtestIDE1.2.13中运行 poco.start_gesture()运行时取的坐标横竖屏反了 **复现步骤** ``` auto_setup(__file__) poco = UnityPoco() poco.long_click([0.193, 0.323]) poco.start_gesture([0.193, 0.323]).hold(1).to([0.6, 0.6]).hold(1).to([0.5, 0.5]).up() # 长按坐标就对,手势就不对,[0.193, 0.323]是第1个星星的中心点 ``` **预期效果** 运行的坐标正确 **相关截图**  **python 版本:** `python3.8` **poco 版本:** `1.0.85` **设备:**...
**描述问题bug** 在AirtestIDE1.2.13中运行 poco("xxx").sibling()除返回兄弟节点,还会返回父节点 **预期效果** 应该只返回兄弟节点 **相关截图**  **python 版本:** `python3.8` **poco 版本:** `1.0.85`
**(重要!问题分类)** * poco库报错 **描述问题bug** AndroidUiautomationPoco缺乏合理的并发控制,导致多实例时互相冲突。常见现象是不断打印`INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\r\nINSTRUMENTATION_CODE: 0\r\r\n`并持续重启pocoservice。 不确定这个bug应该报到Airtest还是这个项目,直接原因是每次“只运行选中代码”时新建的AndroidUiautomationPoco实例并没有调用相应的stop_running,导致旧的KeepRunningInstrumentationThread不断尝试重启服务,产生冲突。但在正常运行时由于界面变化pocoservice频繁崩溃重启时也会遭遇类似的问题 #126 #137 应该都是类似的情况 poco.drivers.android.uiautomation 是我加的的log ``` initializing Android poco. DEBUG 2021-03-15 15:50:57,250 [18052-26460 Dummy-32] AndroidUiautomationPoco 初始化 [15:50:57][DEBUG] F:\xxx\AirtestIDE\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s...
**描述问题bug** 几台设备(OPPO R2017/R6007/A31/R3, VIVO Y51A)在测试过程中都遇到RpcTimeoutError报错 1.同一个app下,UI少的界面没问题,UI稍多的界面就会报错 2.同一个UI稍多的界面,用AirtestIDE或者直接poco脚本(简单一句dump)都会报错,用PocoHierarchyViewer怎样刷新都没问题 PS: 把打印打开,看到是socket recv timeout,是safetcp那块有问题? PS2: 单独打了一个Demo包,已发客服大锅,用VIVO Y51A(文档上看到兼容设备列表有)应该能复现的,看到,主界面dump就会报错,打开第一个Graph界面就不会报错 **报错信息** ``` ====================================================================== ERROR: runTest (app.widgets.code_runner.ide_launcher.AirtestIDECase) ---------------------------------------------------------------------- Traceback (most recent call last): File "airtest\cli\runner.py", line 66,...
**描述问题bug** 在我确定_instanceId是一定的时候 无法使用_instanceId查找 ``` raise NameError("Cannot use private attribute '{}' in your Query Expression as private attributes do not “ E NameError: Cannot use private attribute '_instanceId' in your Query...