sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03576
[Question #162606]: Python function in sikuli test file
New question #162606 on Sikuli:
https://answers.launchpad.net/sikuli/+question/162606
Is there way to reuse Python function in my Sikuli test file.
for example i want:
def login(name, pass):
...
click()
....
def testA(self):
login("someName", "pass");
...
def testB(self):
login("someOtherName", "pass");
...
And I want that all this function be in the same file.
Thanks.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.