← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #188751]: Sikuli Test hanging when running unit test - fine when through IDE

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Ok, these are all "user errors" (sorry, but true ;-)

--- assert not exists("UntitledNote.png")
AssertionError

If run in normal mode, assert False leads to an assertion error, which
in case not catched (what is indead done in unit test mode) leads to the
above script abort

--- [error] UntitledIFil.png looks like a file, but can't be found on the disk
This means what it says: a file UntitledIFil.png cannot be found in the .sikuli folder, that is run as  the current script.
So check, why this is the case and correct it (capture a new one if necessary)

Again: I really recommend to not invest that much into the IDE unit test
feature. see the above mentioned faq.

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