Click() fails while it should return 0

Bug #1582106 reported by Alex Lunyov on 2016-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
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) on 2016-05-16
description: updated
Alex Lunyov (lunyov-av) on 2016-05-16
description: updated
description: updated
Alex Lunyov (lunyov-av) on 2016-05-16
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers