sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42417
Re: [Question #626490]: Errors happen when Android screen is horizontal
Question #626490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/626490
Status: Answered => Open
Action is still having a problem:
Hello, Sir
I have tested it with this new version, and my phone's os is Android v4.4.4. It still not works when the screen is horizontal, but the error message is different now:
"
Exception in thread "main" FindFailed: imgs/wifi.png: (176x185) in ADBScreen: Android device: ECAXB7009447 (1280 x 720)
Line 2757, in file Region.java
at org.sikuli.script.Region.wait(Region.java:2757)
at org.sikuli.script.Region.find(Region.java:2334)
at org.sikuli.script.Region.getLocationFromTarget(Region.java:3211)
at org.sikuli.script.Region.click(Region.java:3696)
at org.sikuli.script.Region.click(Region.java:3681)
at run.Test.main(Test.java:141)
"
my code:
ADBScreen a = new ADBScreen();
a.click("imgs/wifi.png");
And the same code and same "wifi.png" work fine when screen is
vertical. "wifi.png" is taken from horizontal screen.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.