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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Answered = Open matt is still having a problem: Thanks for the response RaiMan! It solved it for testA, but test B is still suffering from the error: testB(org.python.proxies__main__$check2$4)

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

2012-02-27 Thread RaiMan
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 RaiMan posted a new comment: Sorry for misleading (but might not be the problem): when running in unittest mode, setUp and tearDown are run before/after EACH testXXX. With my suggestion to run it normally,

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 matt gave more information on the question: Hi RaiMan thanks for another quick response. I am currently on XP, but sadly that did not fix the problem. I've grabbed the trace track below: When I run through

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

2012-02-27 Thread RaiMan
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

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Answered = Open matt is still having a problem: Hey RaiMan, I have tried set to false within the unit test run mode. I still get the testB(org.python.proxies.__main__check2$5) issue. I have

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 matt gave more information on the question: Amendment: error is: testB(org.python.proxies.__main__$check2$4): null not testB(org.python.proxies.__main__$check2$4) -- You received this question notification

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

2012-02-27 Thread RaiMan
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Open = Needs information RaiMan requested more information: Pls. send your current script folder zipped to my mail at https://launchpad.net/~raimund-hocke To have a chance to find out, I have

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Needs information = Open matt gave more information on the question: Apologies, I don't have the ability to email files right now, but I can give you the source code: def setUp(self):

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

2012-02-27 Thread RaiMan
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Open = Answered RaiMan proposed the following answer: This works for me: This cannot be run any longer in IDE normal run, since I use self (the test case object) to have only one captured image

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 matt gave more information on the question: Right I've found the issue: at: assert not exists(UntitledNote.png) It is throwing an error, opposed to failing with the above error message. I tried the same

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Answered = Open matt is still having a problem: I apologise as this is a dumb question, when you say This cannot be run any longer in IDE normal run does this mean it must be saved to an SKL

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 matt posted a new comment: My PC is very slow, I added in some more waits and works fine. Cheers! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

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

2012-02-27 Thread RaiMan
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 RaiMan posted a new comment: IDE normal run: black or yellow triangle button in top bar of IDE window (or the respective entries in the run menu) scripts prepared for the view unit test only consist of

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

2012-02-27 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Open = Solved matt confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which

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

2012-02-24 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Description changed to: Hi there, Currently trying to run this test I got from an example: def setUp(): App.open(notepad.exe) wait(UntitledIFil.png) # wait until the app appears def tearDown():

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

2012-02-24 Thread matt
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Description changed to: Hi there, Currently trying to run this test I got from an example: def setUp(): App.open(notepad.exe) wait(UntitledIFil.png) # wait until the app appears def tearDown():

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

2012-02-24 Thread RaiMan
Question #188751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/188751 Status: Open = Answered RaiMan proposed the following answer: if you want to run this in IDE normally and in the unit test view, it has to be this way: def setUp(self): App.open(notepad.exe)