Page History: Action Fixture
Compare Page Revisions
Page Revision: 06/03/2013 22:37
Action Fixture
An action fixture interprets tables for which the first column contains one of a small number of commands. Subsequent columns contain values interpreted by the particular command. The generic action fixture offers only four commands, but subclasses may extend this set.
- start aClass - Subsequent commands are directed to an instance of aClass. This is similar to navigating to a particular GUI screen.
- enter aMethod anArgument - Invoke aMethod with anArgument (of type determined by aMethod.) This is similar to entering values into GUI fields.
- press aMethod - Invoke aMethod with no arguments. This is similar to pressing a GUI button.
- check aMethod aValue - Invoke aMethod with no arguments. Compare the returned value with aValue. This is similar to reading values from a GUI screen.