Variable Substitution

From STIQ

Jump to: navigation, search

Variable substitution provides a simple way to include a previously stored variable in a command parameter. This is a simple mechanism, by which the variable to substitute is indicated by ${variableName}. Multiple variables can be substituted, and intermixed with static text.

Example:

store Mr Title
storeValue nameField surname
store ${title} ${surname} fullname
type textElement Full name is: ${fullname}


See Using Variables in STIQ for details on Selenium variables and escaping them from FitNesse.

Personal tools
Noteworthy