Actions are anything the user can do to a GUI control, such as click, select, fill with text, etc. You can override the behavior of an action, without creating or altering a Recording Library, using SeSExtendAction(). Overriding an action affects Playback, but not Recording.
SeSExtendAction() is used to override an action handler or add a new DoAction handler:
function SeSExtendAction(objectType, doActionName, replacementFunction)
In most cases SeSExtendAction() should be called from within TestInit().
Calling Base Actions
The function you are overriding is called the BaseAction. You can call it like this:
You may override actions several times. For example:
SeSExtendAction("Win32Button", "DoAction", DoActionB);
SeSExtendAction("Win32Button", "DoAction", DoActionC);
When DoAction is called for the Win32Button, the following sequence is executed: