sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12587
[Question #205975]: Unable to execute simple method with (self)
New question #205975 on Sikuli:
https://answers.launchpad.net/sikuli/+question/205975
Hi,
I was trying to crate simple test within Sikuli IDE using few methods(functions).
Following is the script
from __future__ import with_statement
from sikuli.Sikuli import *
def startApp(self):
openApp("firefox.exe")
sleep(5)
def testApp(self):
assert exists (firefox screenshot)
sleep(5)
As I click on the Run button, nothing happens and Sikuli does not return any error too.
but if i remove the argument (self) and just call a method at the end of the script, above works perfectly fine.
Any help would be appreciated. Thanks
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.