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):
  App.open("notepad.exe")
  wait("UntitledNote.png") # wait until the app appears
def tearDown(self):
    type(Key.F4, KeyModifier.ALT)
def testA(self):
  assert exists("UntitledNote.png")
def testB(self):
    assert not exists("UntitledNote.png")

if False: # set it to True when running normally
    setUp(None)
    testA(None)
    tearDown(None)
    setUp(None)
    testB(None)
    tearDown(None)

Thanks,
Matt

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to