Creating new actions

The steps needed to create a new user-defined action.

User-defined actions are kept in the Actions sub-tree of the project, to which you may also add any number of folders and subfolders to organize the actions, similar to the use of folders in the Tests tree. To create a new user-defined action, follow these steps:

  1. Right-click the Actions folder, or its subfolder, and click New Action.

    Fastpath: Ctrl + N

  2. In the New Action dialog box, specify a name that can uniquely represent the action within the project. Other fields are optional, but for larger projects it is generally recommended that you supply values for them.

    An important section of this dialog box is the list of arguments for the action. For each argument, you can specify a name, a default value, a description, a type and a modifier.

    Tip: 
    • Refer to Argument types for argument types and associated argument modifiers.
    • Use the Move Up and Move Down buttons to change the order of the arguments (which determines the order in which they will appear when you use the action in a test).

  3. 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 invoked from a test module or from another action definition. (See also automating actions.)

Notes: 

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400