← Back to team overview

sikuli-driver team mailing list archive

[Question #158009]: Sikuli can't distinguish checked and unchecked box.

 

New question #158009 on Sikuli:
https://answers.launchpad.net/sikuli/+question/158009

>From this link http://sikuli.org/docx/tutorials/uncheckall/uncheckall.html, it looks like Sikuli can distinguish checked box and unchecked box. But in my case, it fails.

My environment:
Windows 7 x64
Sikuli X-1.0rc2

I've a Win32 application, and there is one (and only one) check box in a panel. My code is like:
with Region(r):
    if exists("checked.png"):
        popup("checked")
    if exists("unchecked.png"):
        popup("unchecked")

I execute my code, then get 2 popups for both checked and unchecked. But there is only one check box and should only one popup in a execution....


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