Click() fails while it should return 0

Bug #1582106 reported by Alex Lunyov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I'm using both last 1.1.0 and beta 1.1.1 versions SikuliX, Windows 7 64 bit.

SukuliX help says click() "returns the number of performed clicks (actually 1). A 0 (integer null) means that because of some reason, no click could be performed (in case of PS may be not Found)". But in my case it fails instead of returning 0 (now it unexpectedly reports "FindFailed").

P.S. Well, that's quite reasonable to throw out when this exception raises.
I just understood one need to use try/exception to handle this.

:) I'm new to this bug tracker, no idea how to delete myself solved "bug" from here.

Alex Lunyov (lunyov-av)
description: updated
Alex Lunyov (lunyov-av)
description: updated
description: updated
Alex Lunyov (lunyov-av)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.