Poco
Poco copied to clipboard
A cross-engine test automation framework based on UI inspection
> 集成完poco-sdk后,能获取到UI树,但是我点击按钮报select invalid payload  遇到了和楼主相同的问题,并且poco录制操作无效,不会在*.air文件中生成相应的脚本~ Airtest版本1.2.13 unity版本2018.4.22f1 _Originally posted by @CloudeZhang in https://github.com/AirtestProject/Poco/issues/384#issuecomment-1036205305_
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * 图像识别相关问题 -> https://github.com/AirtestProject/Airtest/issues * 测试开发环境AirtestIDE使用问题 -> https://github.com/AirtestProject/AirtestIDE/issues * 控件识别、树状结构、poco库报错 -> 此仓库 **描述问题bug** (简洁清晰得概括一下遇到的问题是什么。或者是报错的traceback信息。) pocoservice.apk不断重启,导致手机发热严重,手机卡顿,用例无法顺利执行。插拔一次USB数据线可以恢复正常 ``` (在这里粘贴traceback或其他报错信息) 报错信息 pocoAirTest/testcase/005/test_bookfriends_rank/test_bookfriends_rank_page.py::TestBookfriendsRankPage::test_change_ranking_tab[newPoco0-current_state_Poco0] Exception ignored in: Traceback (most recent call last): File...
adbd 日志如下: 06-14 11:35:16.403 1965 1965 W NotificationService: Object died trying to show notification android.app.ITransientNotification$Stub$Proxy@670adbd in package com.netease.open.pocoservice 06-14 17:59:15.641 2293 2293 W /system/bin/adbd: type=1400 audit(0.0:241710): avc: denied { search...
现在我们有一个场景是 1234567 | connect 1234568 | connect 1234569 | connect 1234566 | connect 而元素列表如下: "12345.." 和 “connect” 全都在同一级,没有对应的关系  左侧的数字是随时变动的,我无法直接通过左侧数字定位到右侧的connect 的按钮 我自己写了一个解决的方案,但是速度不尽如人意,想来应该还是得从更底层去解决这个 def index(self): """ Returns the index of the...
现在我们有一个场景是 1234567 | 连接 1234568 | 连接 1234569 | 连接 1234566 | 连接 而元素列表如下: "12345.." 和 "connect" 全部在同一个层级,没有对应的关系 我无法直通过左边的数字定位到右边的connect的按键,因此加了这三个接口,用于方便直接获取某个元素的上一个和下一个兄弟节点,以及自身所处在的子集中的索引值
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * 图像识别相关问题 -> https://github.com/AirtestProject/Airtest/issues * 测试开发环境AirtestIDE使用问题 -> https://github.com/AirtestProject/AirtestIDE/issues * 控件识别、树状结构、poco库报错 -> 此仓库 **描述问题bug** (简洁清晰得概括一下遇到的问题是什么。或者是报错的traceback信息。) ``` (在这里粘贴traceback或其他报错信息) ``` **复现步骤** 1. Go to '...' 2. Click on '....' 3. Scroll...
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **描述问题bug** 在android手机上,当在一个activity界面时: 1、对话框, 2、日期选择器, 3、时间选择器等弹窗, 4、loading加载款, 会出现无线重启现象,很大概率导致黑屏: 1、很多的shell am start -n com.netease.open.pocoservice/.TestActivity 2、很多的[pocoservice.apk] stdout: b'\r\r\ncom.netease.open.pocoservice.InstrumentedTestAsLauncher:INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\r\nINSTRUMENTATION_CODE: 0\r\r\n' [pocoservice.apk] stderr: b'' **复现步骤**    出现错误,并出现关机现象,如下图所示: **预期效果** 当activity被蒙层时,很容易导致这些问题。希望改进 使用AirtestIde...
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。) **(重要!问题分类)** * poco库报错 **描述问题bug** 使用Pycharm,透過appium webdriver連線到雲端手機裝置,在手機執行poco腳本時,手機出現poco service is running訊息,但沒有繼續執行腳本內容,以下為pycharm報錯內容。 已試過此文方式[pocoservice无限重启的解决办法](https://airtest.doc.io.netease.com/IDEdocs/poco_framework/7_poco_restart/),尚未解決報錯問題。 ``` UserWarning: [pocoservice.apk] instrumentation test server process is no longer alive warnings.warn("[pocoservice.apk] instrumentation test server process is no longer...
- https://github.com/AirtestProject/Poco/issues/577 - 在启动新的 _keep_running_thread 之前,首先检查是否已经存在,如果存在则先关闭之前的线程,然后再启动一个新的线程。
I encountered an issue where the line "ip = self.device.get_ip_address()" was throwing a socket.gaierror exception and not being handled properly, causing the program to exit. And I fixed this problem....