AutoTest Sytem Operation
Subject to Export Control, see Cover Page for details.
5-9
Common Script Elements
* None of the above commands, nor the system-implemented set_ or inc_ commands, are step/repeat/
pause points. Only test_commands can be paused.
# Comment, rest of line ignored.
repeat n Repeat commands (. . .) n times.
. . . (commands)
end
if pass | fail Tests flag set by the preceding 'test' (that can supply a pass/fail).
. . . (commands)
[else]
. . . (commands)
end
1. repeat...end and if...else...end structures may be freely nested.
2. The command break n is used to break out of this (or n outer level) loops.
system system_name On the first line after selecting the script, the named system is loaded
in AutoTest default state.
On subsequent runs, the system is not be reloaded. Note that
defaults are only set when the system is actually loaded (i.e. on the
first run) not whenever the line is executed.
Defaults are only set when the system is actually loaded, not
whenever the line is executed.
If the system_name contains spaces, it must be enclosed in double
quotes as in: system "TETRA MS".
system system_name default Loads named system (if enabled), in factory default state, each time
statement is executed.
system system_name Loads named system (if enabled), in the state the system was in when
last used outside AutoTest each time statement is executed.
wait n ["reason string"] Wait n seconds.
Indications on screen = wait n seconds, reason string and wait time-
out bar.
result_print "string" Print a string to results area.
result_separator Print a separator line to the results area.
At start of script: Results and Info windows are cleared and the report header is
displayed. For example:
Aeroflex IFR390x Digital Radio Test Set
Ser. No: xxxxxx/xxx
Friday 18 Oct 2002 14:25:33
Script: "script_name"
Tester, Company, Info
On reaching end of script
A result summary: Prints report summary.
In the Results area:
Summary Pass: 123 Fail: 1
FAILED Repeats: 3
And finally: In the Test Info/Feedback area:
Script completed.
And if enabled: an audible 'beep'