Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 578 by Andreas.EbbertKarroum: New Keyword "import resource"
http://code.google.com/p/robotframework/issues/detail?id=578

In addition to import a library dynamicall with the "import library" keyword, it'd be nice, to do the same for resources.

Use-Case:
In the suite initialization script we set some variables, if they are not already present. [1] One of that variable points to the location of the resource files. Then, it's good practice to load libraries with via a resource file, to prevent initialization of the libaries with different parameters. When a Library is used in the __init__ and other resources and keywords, our __init__ file has to import the resource file after the variable that points to the resources has been set.

[1] http://groups.google.com/group/robotframework-users/browse_thread/thread/7326377b3a02468a

Reply via email to