← Back to team overview

sikuli-driver team mailing list archive

[Question #292442]: type(Key.DOWN) java loop

 

New question #292442 on Sikuli:
https://answers.launchpad.net/sikuli/+question/292442

Goodmorning,

I'm using a MAC OS EL Capitan v.10.11.3.
I'm using SikuliX 1.1.0 

I'm doing some mobile testing on Android.

The Challenge: I'm trying to scroll the page down using type(Key.DOWN).
however, this causes a loop with the following message;

java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at java.awt.Robot.delay(Robot.java:535)
at org.sikuli.script.RobotDesktop.delay(RobotDesktop.java:227

Is there another solution for 'swiping down' on a mobile device other than using 'type(Key.DOWN)?

Best Regards...

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.