Revision: 3dc73536ab32
Branch: default
Author: Pekka Klärck
Date: Sat Jun 14 22:13:18 2014 UTC
Log: UG: Added not that vars are not resolved in vars from var files.
Update issue 1722
Status: Done
Owner: pekka.klarck
Added a note about this.
http://code.google.com/p/robotframework/source/detail?r=3dc73536ab32
Modified:
/doc/userguide/RobotFrameworkUserGuide.html
/doc/userguide/src/CreatingTestData/ResourceAndVariableFiles.rst
=======================================
--- /doc/userguide/RobotFrameworkUserGuide.html Sat Jun 14 21:56:12 2014 UTC
+++ /doc/userguide/RobotFrameworkUserGuide.html Sat Jun 14 22:13:18 2014 UTC
@@ -8745,6 +8745,14 @@
</tr>
</tbody>
</table>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last">Variables are not replaced in strings got from variable
files.
+For example, <span class="code">VAR = "an ${example}"</span>
would create
+variable <span class="var">${VAR}</span> with a literal string value
+<span class="var">an ${example}</span> regardless would variable <span
class="var">${example}</span>
+exist or not.</p>
+</div>
</div>
<div class="section" id="using-objects-as-values">
<h5>Using objects as values</h5>
@@ -17967,7 +17975,7 @@
<div class="footer">
<hr class="footer" />
<p>Generated by <a class="reference external"
href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>.
Syntax highlighting by <a class="reference external"
href="http://pygments.org/">Pygments</a>.</p>
-<p>Generated on: 2014-06-14 21:46 UTC.
+<p>Generated on: 2014-06-14 22:09 UTC.
</p>
</div>
=======================================
--- /doc/userguide/src/CreatingTestData/ResourceAndVariableFiles.rst Tue
Nov 19 15:16:52 2013 UTC
+++ /doc/userguide/src/CreatingTestData/ResourceAndVariableFiles.rst Sat
Jun 14 22:13:18 2014 UTC
@@ -274,6 +274,12 @@
@{MIXED} first value ${-1.1} ${None}
${True}
=================== ==================== ========== =========
=========
+.. note:: Variables are not replaced in strings got from variable files.
+ For example, :code:`VAR = "an ${example}"` would create
+ variable :var:`${VAR}` with a literal string value
+ :var:`an ${example}` regardless would variable :var:`${example}`
+ exist or not.
+
Using objects as values
```````````````````````
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.