AutoTest II Sytem Operation
Subject to Export Control, see Cover Page for details.
6-12
setcustom
Configures soft keys used throughout test script.
Example:
setcustom 1 “Custom 1”
setcustom 2 “Custom 2”
setcustom 3 “Custom 3”
setcustom 4 “Custom 4”
setcustom 5 “Custom 5”
setcustom 6 “Custom 6”
showcustom
Displays a set of custom soft keys and pauses script while waiting for user to make soft key
selection. Script resumes running when soft key is pressed.
::AX(functionkey) variable command indicates the soft key that was pressed.
Example:
if { $::AX(functionkey) == 1 } {
print “Key 1 was pressed”
}
clearcustom
Clears all configuration for custom soft key set.
pause
Pauses script and displays soft key set:
1 - Continue (allows script to continue)
2 - Abort (stops script and returns to AutoTest II Main Tile)
pauseFRA
Pauses script and displays soft key set. Script returns which soft key was pressed.
1 - Fail
2 - Retry
3 - Abort (stops script and returns to AutoTest II Main Tile)
Example:
set temp [pauseFRA]
if { $temp ==1 } {
print “Fail was pressed”
} elseif { $temp == 2 }
print “Retry was pressed”
}