Hi there,
I'm just getting started with Sikuli and RIDE. Sikuli seems to be the perfect approach for our purposes. After playing a round a bit I wrote a simple test script to get started. Mind that I have never before worked in python and am just learning as i go along.so I might just make a simple mistake and not know it.
Here is my simple script:
class ExampleLib:
def my_keyword(self):
"""does nothing"""
print("Yes mykeyword works for some reason")
pass
def your_keyword(self, arg):
"""Takes and Argument, does nothing"""
print("yourkeyword too... weird")
pass
def verifyApp(self):
if exists("1427206879174.png"):
print("yes!")
else:
print("no!")
pass
Now, in RIDE I can successfully import the lib and execute testcases with my_keyword and your_keyword. As expected, this is not rocket science.
But verifyApp wont fly. RIDE cant find "exists" and gives me:
<Date here> : FAIL : NamError: global name 'exists' is not defined
Is there a way to get this to work? Can't i just somehow import some sikuli library into RIDE?
Thanks for your help and time!
Best,
David