A test script executes one path through the capability being tested by the test case. This script may be specified
as a path through an activity diagram, a sequence diagram, or text. Some test scripts require manual manipulation of
inputs such as pushing buttons. Others may be automated by the program that executes the test. Still others may use a
combination of test hardware and a testing language to stimulate component inputs and read component outputs.
In all cases, describe the initialization conditions for the tests. Describe each action and the expected component
response in the test management software. Define the passing and failure conditions completely.
Some typical test scripts include:
-
Proper response to hardware signals
-
Proper response to messages
-
Proper response to human inputs
-
Handling unexpected inputs or inputs in unexpected order
|