← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #158774]: waitVanish() fails with an assertError

 

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

    Status: Open => Needs information

eliteSKL requested more information:
are you doing an      assert exists("Progress-bar.png")         after
the waitVanish()? that would cause the exception.

assert not exists("Progress-bar.png")        would still throw the
exception if the image was still visible.


some notes:

are you taking the picture of the actual progress-bar? check with the
image-viewer to see if there is a good match. if your are taking a
picture of the actually bar that might be tripping up the recognition as
it is a growing/changing image.

I would recommend taking an image of a stagnant image in the progress
popup window. for example the tittle bar with specific text. Better yet
would be to skip the progress bar completely and wait(img, x) for the
next screen or object. it depends on your situation. do you have to wait
for the bar to complete till clicking on a button? Or does the bar just
disappear after completion?

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