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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to