sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17627
[Bug 1173112] Re: I want a longclick method
use
mouseMove(some_image) # optional to get at the click point
mouseDown(Button.LEFT)
wait(any_time_you_want_in_seconds)
mouseUp()
put it in a
def longClick(time = 1, img = None):
if img: mouseMove(img)
mouseDown(Button.LEFT)
wait(time)
mouseUp()
usage
longClick(1.5) # mouse is already at the spot
longClick(1.5, some_image) # mouse has to be moved to the spot first
** Summary changed:
- I want a longclick method
+ [request]I want a longclick method
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Low
** Changed in: sikuli
Importance: Low => Wishlist
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1173112
Title:
[request]I want a longclick method
Status in Sikuli:
In Progress
Bug description:
I want a longclick method for IOS app test
thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1173112/+subscriptions
References