If
Statements – this script shows the syntax and use of if
statements.
While
Statements – this script shows the syntax and use of while
loops.
Include
Statement – this script shows how you can include a sub-script
to reduce duplication between scripts.
Result
Statements - this script shows the use of the result statement.
It shows how to give a result string for a given action in the
script and how to make an included script be seen as important.
Action
Statements – this script shows how to can a testers action
command. This uses the windows tester and will pass or fail
depending on whether you launch the windows calculator. If you run
the windows calculator will close it.
Use
of the Serial Tester – this script shows how to send and receive
data on a serial line, in this case TCP. You can easily change the
script to use RS-232 should you have a null modem cable handy (see
comments in script). This also shows the use of arrays.
Conditional
Actions – this script shows how to perform a different sequence
of actions if a test fails.
Use of Windows
Tester plug-in – this script shows the use of the windows tester
plug-in which allows you to wait for windows to appear, press
buttons and fill in edit boxes etc.