sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08955
[Question #188751]: Sikuli Test hanging when running unit test - fine when through IDE
New question #188751 on Sikuli:
https://answers.launchpad.net/sikuli/+question/188751
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 cearDown():
App.close("notepad.exe")
def testA():
assert exists("UntitledIFil.png")
def testB():
assert not exists("UntitledIFil.png")
setUp()
testA()
testB()
tearDown()
It runs fine in the IDS, except for the tear down which doesn't seem to work.
When I run it using the unit test run tool, the "Run" text turns grey, it loads up notepad, then does nothing and the "Run" text turns black, so I'm assuming its going wrong somewhere after that.
The only way to get back to Sikuli after this is to kill the script with alt, shift, c
Thanks in advance guys.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.