sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36788
Re: [Question #285034]: rinsikulix -t doesn't work
Question #285034 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/285034
Karl proposed the following answer:
I don't think -t is available anymore. Use runsikulix -r
"C:\PATH\JUnitTest.sikuli"
#####
import unittest
class MyTests(unittest.TestCase):
def setUp(self):
doubleClick("img_vincent_directory")
wait("img_directory_opened")
def setDown(self):
click("img_directory_cross")
untilNotExist("img_directory_opened")
def test1(self):
openApp("cmd.exe")
assert exists("img_cmd_opened")
closeApp("cmd.exe")
def test2(self):
openApp("C:\PATH\MSIAfterBurner.exe")
assert exists("img_msiafterburner_opened")
if __name__ == '__main__':
suite = unittest.TestLoader().loadTestsFromTestCase(MyTests)
unittest.TextTestRunner(verbosity=2).run(suite)
#####
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.