← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678360]: [1.1.4] IDE : Robotframework: Keyword Settings::Resouce missing --- only available with RFW 3.1

 

Question #678360 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678360

RaiMan proposed the following answer:
ok, just upgraded to RFW 3.1.1 with the latest build today (#191)

this worked:

# testRobot.sikuli
runScript("""
robot
*** Settings ***
Resource    ../myResource.txt

*** Test Cases ***
Test Robot Framework Logging
    Log  "Test Logging"

Test My Logging
    My Logging  "Test My Logging 1"  "Test My Logging 2"
""")

# myResource.txt
*** Keywords ***
My Logging
    [Arguments]  @{arg}
    Log Many  @{arg}

script and resource file are in the same folder.

This only works with saved script files (not with Untitled tab - no yet
saved)!

BE AWARE: to fill the next column in a line, there must be at least 2
spaces in between (you only had one space)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.