sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02527
[Bug 774145] Re: [request] want Click duration --- proposal included
We already have low-level mouse actions (mouseDown, mouseUp) for
implementing such behavior. If more people ask for long-click, we can
reopen this issue.
** Changed in: sikuli
Status: New => Won't Fix
--
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:
Won't Fix
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