AirtestProject / AirtestProject/Poco

GridView或ListView中的控件坐标概率性错乱

Open
#375 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

**描述问题bug**
使用AirtestIDE查看界面元素属性时,发现来回滑动GridView或ListView后,获取到的里面的元素的属性与实际显示不符

**复现步骤**
1. 使用AirtestIDE,用Android原生方式连接终端设备
2. 在含有GridView的界面左右滑动
4. 界面上显示的文本是第2页的,而控件树中得到的元素实际是在屏幕外的第1页的。

**预期效果**
得到的控件树,与实际显示一致

**相关截图**
![Airtest问题](https://user-images.githubusercontent.com/21186468/79291846-460ada80-7f02-11ea-8092-f529867f3759.png)

**python 版本:** `python3.6`

**poco 版本:** `1.0.69`
> poco版本通过`pip freeze`可以命令可以查到

**设备:**
- 型号: [e.g. MaxiSys MS906 BT]
- 系统: [e.g. Android 4.4]

**其他相关环境信息**
win10

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.