Rapidly create a new user-defined action from a contiguous set of actions in the test
In the test editor, select a contiguous set of actions in a test module or
Right-click the selection, then select Create Action
from the context menu (or press Ctrl + Alt + C on the
It is OK if one or more of the actions is marked with a
bug, as long as all the bugs are of the same type. However, if the set of
actions contains bugs of more than a single type, the following message is
displayed. (See Marking TA bugs as
for further information).
In the Create New Action dialog box, provide the details
for the action:
- Name: A unique action name.
- Description: (Optional) Short description for the
- Location: (Optional) Specify the directory
location in which to store the newly created action. If you do not specify
the location, TestArchitect automatically
stores it directly under the Actions node.
- Argument: (Optional) Select several respective
check box arguments if you want to create arguments in the action
- To replace the selected set of contiguous actions with the newly-created
action immediately upon its creation, select the
selected script by new action
- To display all the window and control arguments in the
Argument panel, select the Show
window and control argument check box.
A new worksheet appears, headed by the name of the action, which is followed by a
list of its arguments. This worksheet is known as the action definition for the new
action. Any lines you add to this sheet are executed whenever the new action is called
from a test module or another action definition. (See also automating actions