[1.1.1] Android - ADB: input, tap and getDisplayDimension not working correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Undecided
|
RaiMan |
Bug Description
reported by https:/
input: https:/
tap: https:/
278230572
viewport: https:/
-------
There is no space between input text and the actual text to be typed.
public void input(String text) {
try {
text = text.replaceAll
device.
RunTime.
} catch (Exception e) {
log(-1, "input: %s", e);
}
}
Also I'm replacing all the spaces with %s, otherwise adb server will raise an error.
To test them I changed org.sikuli.
private static void basicTest(ADBScreen adbs) throws FindFailed {
log(lvl, "**************** running basic test");
adbs.
adbs.
adbs.wait(1f);
ScreenImage sIMg = adbs.userCaptur
sIMg.
Image img = new Image(sIMg);
adbs.aTap(img);
adbs.wait(1f);
sIMg = adbs.userCaptur
sIMg.
img = new Image(sIMg);
adbs.aTap(img);
adbs.wait(1f);
adbs.
}
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.1 |
description: | updated |
summary: |
- [1.1.1] Android - ADB: input not working correctly + [1.1.1] Android - ADB: input and tap not working correctly |
description: | updated |
summary: |
- [1.1.1] Android - ADB: input and tap not working correctly + [1.1.1] Android - ADB: input, tap and getDisplayDimension not working + correctly |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
importance: | High → Undecided |
milestone: | 1.1.1 → none |