← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #171260]: [Java] Junit: How to avoid false positive using App.focus

 

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

    Status: Needs information => Open

Vince gave more information on the question:
It does work about 75% of the time.

However, sometimes it will respond as successful but the window is not
brought forward. I suspect it may be due to a timing issue where the
window isn't fully loaded which is why I was trying to have it check
multiple times.  With the false positive issue that doesn't work. The
best I can do is try to give it a long wait each time and hope that
makes a difference.

There have been times though that the window has been up a long time and
still the same thing occurs. I have no idea why it happens, I just want
to figure out a way to have it check a couple times to get past it.

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