sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49710
[Bug 1807108] Re: [1.1.4] Windows: Android: Screenshot problem - lower part of screen image is black (varying)
The capture section is completely revised and should work now (including
the IDE menu check).
added goody: now a search on the whole screen (in my case 1200 x 1920)
takes less than 3 secs (before more than 6 secs).
** Changed in: sikuli
Status: In Progress => Fix Committed
** Changed in: sikuli
Importance: Medium => Critical
** Summary changed:
- [1.1.4] Windows: Android: Screenshot problem - lower part of screen image is black (varying)
+ [1.1.4] Windows: Android: Screenshot problem - lower part of screen image is black (varying) --- fixed 2018-12-12 build #145
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1807108
Title:
[1.1.4] Windows: Android: Screenshot problem - lower part of screen
image is black (varying) --- fixed 2018-12-12 build #145
Status in Sikuli:
Fix Committed
Bug description:
Sikuli versions: 1.1.4
OS: Windows 10 X64
IDE: Jython IDE
I'm using adb to connect my emulator.
Using menuToolAndroid to test, there're things failed.
1.Clicking "Check" Button:
The first and second check was success.
In the third check:
a.The capture icon feature sometimes didn't pop out and cause the IDE didn't return.
b.Although the capture icon feature pop out, Sikuli didn't click the icon I've captured and the IDE didn't return.
2.clicking "Default" Button:
After clicking default,clicking the "Take a screenshot" Button on IDE doesn't pop out the screenshot feature and the IDE disappeared.Only I can do is to close java with task manager and restart the IDE.
3.In /API/src/main/java/org/sikuli/android/ADBScreen.java line
106,method
public List<ADBDevice> getDevices() {
List<ADBDevice> devices = new ArrayList<>();
if (device != null) {
//<= no code written
}
return devices;
}
which always return empty list.
Also, my test code is:
adbscr = adbStart()
reg = adbscr.newRegion(0, 0, 1600, 900)
img = adbscr.capture(reg)
img.save(path_to_save)
it returns ADBDevice: captureDeviceScreenMat: image type not RGBA
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1807108/+subscriptions
References