Comment #18 on issue 825 by msud...@gmail.com: Public API for generating and executing test cases
http://code.google.com/p/robotframework/issues/detail?id=825

Please share/document examples for variable assignment in the area of using API test_case.keywords.create.

*** guess ***
from robot.variables import *
from robot.running import EXECUTION_CONTEXTS as EC

suite = TestSuite(name='my test')
tc = suite.tests.create('my test')
result_handler = tc.keywords.create('Callable returning something')
local_context = EC.test()
local_context.variables()["named_variable"] = result_handler

*** end guess ***


--
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/d/optout.

Reply via email to