Question #632251 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/632251
Status: Answered => Open Test App is still having a problem: Hi , Thankyou Masuo and Roman Yes, i did read a lot of docs and also tried understandig the tabular syntax of Robo framework. I am trying to create my own library and have my own keywords, I have executed the following script : runScript(""" robot ***Settings*** Library calc.LoginLibrary WITH NAME Calculator ***Test Cases*** Verify that 2 + 2 = 4 Start App Verify App Verify that 2 + 2 = 5 Start App Verify App """) class LoginLibrary(object): def __init__(self): self.appCoordinates = (0, 0, 1024, 768) def startApp(self): calcApp = App("Calculator") if not calcApp.window(): App.open("calc.exe"); wait(2) calcApp.focus(); wait(1) def verifyApp(self): if exists ("CalcApp.png"): print("Calc window appeared") else: print("No Calc window") def runTest(self): self.startApp() self.verifyApp() if __name__ == "__main__": calc = LoginLibrary() calc.runTest() In the html report it says "No keyword with name 'Start App' found" How do i create my own library and keyword? Can you please give me a sample script on how to create my own library and keywords and in which folder do i place theese scripts I tried reading a lot of documentation but still need help. Please help Thank you -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp