background image
<< Commands - Objfile Path | Commands - Log Elapsed Time >>
Commands - Write to Disk After Each Line
<< Commands - Objfile Path | Commands - Log Elapsed Time >>
User's Guide
487
27 M
ENU
C
OMMANDS
Options menu
Compiler constants... Opens the Compiler Constants dialog, where you can
define constants and assign them values. You can use the defined constants in
scripts and include files anywhere you can specify an expression. Constants
are evaluated and replaced with their values at compile time.
To define a constant, specify its name in the Constant Name field and its
value in the Value field, then click Add. You can edit or delete an existing
constant by selecting it and clicking Edit or Remove.
Y2K Rules... Opens the Y2K Date Transformation Rules dialog where you
can define rules that SilkTest should use to transform dates.
For more information, see "Testing applications that have been made Year
2000 compliant" on page 195.
Results
Directory/File Specifies the name of the directory, or the name of the
directory and file that stores the results of script runs.
Note SilkTest always assigns the extension .res to all results files. If
you supply a different extension, SilkTest will override it.
If you leave the field empty (the default), SilkTest gives the results file the
same name as the script and stores it in the same directory as the script.
If you supply only a directory name, SilkTest gives the results file the same
name as the script and stores it in the directory you specify.
History Size Specifies an integer representing how many sets of results to
keep for a script. Once this number is reached, SilkTest automatically deletes
the oldest set of results each time it generates new results. A value of 0 saves
all results files.
Default is 5.
Write to Disk After Each Line If checked, writes the results file to disk
whenever the script generates output, as in the case of a print statement.
Selecting this option ensures that in the event of system failure, SilkTest will
produce a results file containing output up to the time of system failure. The
disadvantage of selecting this option is that file I/O slows down script
execution.
Default is checked.
Find Error Stops at Warning If checked, Edit/Find Error locates error
messages and warnings in results files. Otherwise, the command locates error
messages only.
Default is checked.