← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258430]: Pattern detection failing on certain patterns

 

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

Shafiq Khan posted a new comment:
OK. May be it has something to do with my test environment. My code structure was as follows:
#while the button is not in on state
    #if the button is in off state, click on it
It was failing because it couldn't differentiate between the two. So when the button was in off state, it thought it was in on state and exiting the while loop.

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