[1.0.1 ok] [request] I want a longclick method
Bug #1173112 reported by
jinlong.chu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
--- fixed in 1.0.1: Settings.ClickDelay as "one-time-" pause between down and up
I want a longclick method for IOS app test
thanks
Changed in sikuli: | |
importance: | Wishlist → Medium |
milestone: | none → x1.1 |
tags: | added: fkt-click |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
importance: | Medium → Critical |
description: | updated |
summary: |
- [request]I want a longclick method + [1.0.1 ok] [request] I want a longclick method |
To post a comment you must log in.
use some_image) # optional to get at the click point Button. LEFT) time_you_ want_in_ seconds)
mouseMove(
mouseDown(
wait(any_
mouseUp()
put it in a
def longClick(time = 1, img = None): Button. LEFT)
if img: mouseMove(img)
mouseDown(
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