ptestby Group Public on Saturday September 19 2009 @ 09:48:35 (1/1 Points) |
|
| Configuration ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It |
ptest is the file format used to provide configuration data to TestPlan and your scripts. At first glance it will appear very much like a Java properties file.
Syntax
The format is line based with whitespace at the start and end of the lines generally ignored. A line ending with \ will be continued on to the next line.
Name=Value
This simply creates a context item→ with the name and value pair. The separator must be the = character, everything else will be taken to be part of the name.
The value component is subject to RValue Expansion→ and thus may be defined as a combination of other defined values.
Including Files
+file.ptest ?file.ptest
Both of these options load another file for further processing. The ? allows the to not exist, whereas + produces an error if the file cannot be found.
Note that the filenames must end with .ptest to be properly recognized.
The filename is subject to RValue Expansion→ and thus may be constructed from previously defined context items.
TestPlan ptest
