Comment #2 on issue 1513 by 8550...@gmail.com: Automatic variables is unavailable in get_variables (or getVariables) method
http://code.google.com/p/robotframework/issues/detail?id=1513

Test scenario
----------------------------------
*** Setting ***    Value
Documentation     Unavailable variables
Suite Setup
Suite Teardown
Force Tags
Variables         rxbot/test.py


*** Test Case ***
Test get variables
    [Documentation]    get var
    [Tags]
    [Setup]
    log    ${result}
    Log Variables

library rxbot/test.py
----------------------------
#!/usr/bin/env python2.6
from robot.libraries.BuiltIn import BuiltIn

def get_variables():
    vars = {}
    result = BuiltIn().get_variable_value("${SUITE_SOURCE}")
    assert result != None, 'BuiltIn() not work! SUITE_SOURCE not defined.'
    vars['result'] = result
    return vars


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to