← 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: Open => Answered

RaiMan proposed the following answer:
No chance: App.focus() does not check, what happens with the window.

You have to somehow check yourself, wether the wanted window is
visible/frontmost.

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