alibaba / alibaba/macaca

控件获取不全

Open
#942 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3.2k
Forks
418
PR merge metrics
No merged PRs in 30d

Description

* **Macaca Version**:

2.2.0

* **Macaca Doctor Logs**:

macaca-doctor version: 2.0.18

Node.js checklist:

node env: D:\PF\nodejs\node.exe
node version: v12.2.0

Android checklist:

JAVA version is `1.8`
JAVA_HOME is set to `D:\PF\Java\jdk1.8.0_181`
ANDROID_HOME is set to `D:\PF\Android\android-sdk`
Platforms is set to `D:\PF\Android\android-sdk\platforms\android-26`
ADB tool is set to `D:\PF\Android\android-sdk\platform-tools\adb.exe`
GRADLE_HOME is set to `D:\PF\gradle-5.4.1`

Installed driver list:

android: 2.1.0
location: C:\Users\zpc\AppData\Roaming\npm\node_modules\macaca-android
* **Operate System**: windows 10 64bit

* **Programming Language**:python3.6

![image](https://user-images.githubusercontent.com/18394259/63938385-3768d380-ca97-11e9-97f2-80c90fadd98c.png)

如图所示
![image](https://user-images.githubusercontent.com/18394259/63938515-87479a80-ca97-11e9-8633-43dd5cdebee3.png)

手机的分辨率是1920X1200但是实际上控件获取的区域仅有1824X1200请问如何解决有没有好点办法,appium也是同样的问题

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the control-bounds problem with Macaca 2.2.0 and the macaca-android 2.1.0 driver on the reported Windows and Android setup. Compare the device resolution with the area returned by control discovery; done means the reported control region covers the full 1920×1200 display or the limitation is documented with a clear cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.