sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50522
Re: [Question #678427]: Mojave : SikuliX IDE : I need to create a Keyword for invoking my app with Robotramework (from the SikuliX IDE)
Question #678427 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678427
RaiMan proposed the following answer:
this works:
runScript("""
robot
*** Variables ***
${TESTAPP} "preview"
*** Settings ***
Library ./inline/AppLibrary
*** Test Cases ***
Test Setup start my application ${TESTAPP}
""")
class AppLibrary(object):
def start_my_application(self, myApp):
someApp = App.open(myApp)
BE AWARE as already mentioned:
to fill the next column in a line, you have to use at least 2 spaces:
wrong:
Test Setup start my application ${TESTAPP}
correct:
Test Setup start my application ${TESTAPP}
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.