Smart creation of new actions

Rapidly create a new user-defined action from a contiguous set of actions in the test editor.

  1. In the test editor, select a contiguous set of actions in a test module or user-defined action.
  2. Right-click the selection, then select Create Action from the context menu (or press Ctrl + Alt + C on the keyboard).
    Remember: 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 known bugs for further information).

  3. In the Create New Action dialog box, provide the details for the action:
    • Name: A unique action name.
    • Description: (Optional) Short description for the action.
    • 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 editor.
    Tip:
    • To replace the selected set of contiguous actions with the newly-created action immediately upon its creation, select the Replace selected script by new action check box.
    • To display all the window and control arguments in the Argument panel, select the Show window and control argument check box.
  4. Click Create.
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.)