← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #152101]: test execute OK in IDE but gives error in commandline

 

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

    Status: Needs information => Answered

RaiMan proposed the following answer:
Ok, then try the following (might be a timing problem):


def test_affichage_favoris(self):
  click(exists("1302247948937.png", 10))
  assert (exists("FluxHisturiq.png"))

If the image is not found after 10 seconds, the click does nothing and
your assert fails.

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