Simon User Guide

Report Templates > Document

This page has information about the Document scope, and variables valid within this scope. See the Report Templates page for more information about Simon's report templates.

The Document scope isn't an explicit block like the others. It includes variables that can be used at any time - both outside of and within any blocks. They could be called global variables.

Variables are tags in the file that are replaced by another value when the report is used. Variables are enclosed in curly braces, and have a variable name optionally followed by any number of parameters, e.g. {title format="wordcase"}. See the parameters page for information on the available parameters.

The variables that are available globally include:

Variable:Outputs:
BasePathRelative path in the output; is "./" for the Summary page and "../" for the Detail pages.
CRA carriage return character (see also Return).
CRLFCarriage return and linefeed characters (see also ReturnLinefeed).
DetailsExtensionFilename extension used for the Detail page files (e.g. "html").
DetailsInDirectories"Yes" if Detail pages are in sub-directories, or "No" if they are in the same directory as the Summary page.
HasDetails"Yes" if Detail pages are being generated, otherwise "No".
HasSummary"Yes" if a Summary is being generated, otherwise "No".
ImagesPathRelative path in the output to the images directory (if any).
IsDetail"Yes" if the current page is a Detail page, or "No" if it is the Summary.
LFA linefeed character (see also Linefeed).
LinefeedA linefeed character (see also LF).
LineNumberThe 1-based number of the current line for repeating blocks.
LineOddEven"Odd" or "Even" based on the line number (useful for alternating row colors via CSS).
OutputLocationThe URL where the report is saved or uploaded.
OutputNameThe directory where the report is being output.
PageKind"Summary" on the Summary page, "Detail" on Detail pages.
RefreshInterval in seconds between reports; useful for the meta refresh to automatically reload the web page.
ReportDateDate that the report was generated.
ReportTimeTime that the report was generated.
ResourcesPathRelative path in the output to the resources directory (if any).
ReturnA carriage return character (see also CR).
ReturnLinefeedCarriage return and linefeed characters (see also CRLF).
TabA tab character.
TemplateThis variable doesn't output anything; it is used for informational purposes only.
TemplateNameName of the template being used.
TemplatePathFile path of the template folder (within Simon's data folder).
TitleOn the Summary page, the name of the report; on Detail pages, the name of the test.
VersionVersion of Simon that generated the report.

Return to the Report Templates page
Return to the Report Options page
Return to the New / Edit Report window page
Return to the Reports window page
Go to the User Guide Contents
Return to the main Simon page