← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #406534]: For loop not executing if statement in Java

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
It is always difficult to "debug" these situations here.

How do you verify that the if statement is not executed?
insert at least some print statements.

What I see is that you seem to refresh the screen with the webdriver
feature.

May be it is a timing problem and you should raise the wait time here:
screen.exists(spinButton, 1)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.