A language template represents a wording pattern which can be used in nlxx-files to control the test application or to influence the test execution in any form.
A language template is implemented by a Java method with a LanguageTemplate annotation.
To make a language template work, its annotation text must match exactly to a natural language instruction in a nlxx-file.
What does an annotation text look like?
An annotation text is represented by any sequence of characters.
The annotation text may contain any number of placeholders.
Placeholders stands for data values or data items used in the natural language instructions of nlxx files.
There are three kinds of placeholders: ^^, <> and ''
The ^^ placeholder stands for a simple data value (e.g. name or number).
The <> placeholder defines a Dynamic Data Object that is stored during the test case's runtime (kind of return value).
The '' placeholder refers to a dynamic data object previously defined by an <> placeholder.
Where is a language template to implement?
Language templates are implemented in the language template container of the corresponding test application.
There may exist more than one language template container for a single test application
Exactly one of these must extend the class LanguageTemplateBasics and implements some test application specific functionalities, e.g. the login.
A language template will be found in any container that is located within the test application's container package.