← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #243473]: Sikuli enters text in wrong field although correct match is present

 

Question #243473 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243473

    Status: Open => Answered

RaiMan proposed the following answer:
Since you said, that you have checked, that "textfield_2.png" leads to
the correct match, I excluded the second most often failure situation:
matching false positives (which would mean, that "textfield_2.png"
matches textfield_1 too)

So as long as you are unsure, just show the matches using the highlight feature.
the easiest option:
Settings.Highlight=true;

from  now on every match will be highlighted for 2 secs and the match is
being logged with it's parameters.

Switch off again:
Settings.Highlight=false;

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.