← Back to team overview

sikuli-driver team mailing list archive

[Bug 774145] Re: Click duration

 

** Attachment added: "added methods in Region.java to implement long-click behavior"
   https://bugs.launchpad.net/bugs/774145/+attachment/2099843/+files/long-click%20methods

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/774145

Title:
  Click duration

Status in Sikuli:
  New

Bug description:
  It should be possible to specify the duration of a click. This is for
  instance especially interesting to Android developers where the long-
  click is an integral part of the user interaction concept.

  I wrote some code to add this possibility using sikuli-script.jar in
  your Junit4 tests. Basically I added some overload methods in
  Region.java (codebase: lp:~sikuli-dev/sikuli/0.10) to achieve this
  (see attachment). It should be easy to integrate them into your code
  if you want to.

  For those who want to include this into their current testing projects
  without meddling around with self-compiling the code into sikuli-
  script.jar I also attached a subclass of Region.java
  (LongClickRegion.java) which adds this behavior.


References