← Back to team overview

sikuli-driver team mailing list archive

[Bug 774145] Re: [request] want Click duration --- proposal included

 

** Description changed:

  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.
+ without meddling with self-compiling the code into sikuli-script.jar I
+ also attached a subclass of Region.java (LongClickRegion.java) which
+ adds this behavior.

-- 
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:
  [request] want Click duration --- proposal included

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 with self-compiling the code into sikuli-script.jar I
  also attached a subclass of Region.java (LongClickRegion.java) which
  adds this behavior.


References