Question #218747 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/218747
Status: Open => Answered
RaiMan proposed the following answer:
the test def()'s in the test class have to start with test...
class Log(unittest.TestCase):
def setUp(self):
openApp("test")
def tearDown(self):
closeApp("test")
def testLogIn(self):
type(Pattern("Num-1.png").targetOffset(40,2), "10001",
KeyModifier.SHIFT)
type(Pattern("Pass.png").targetOffset(38,1), "1111")
click("Valider.png")
def testLogOut(self):
popup("KO")
the sequence is alphabetical with the def names.
And be aware before each test def setUp() is run and after each test
tearDown().
--
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