Select Action Dialog Box

Relevant for: GUI tests only

This dialog box enables you to select actions to use in your test as copies or as external actions.

To access
  1. Ensure that a GUI test or action is in focus in the document pane, or selected from the solution explorer.
  2. Select one of the following:

    • Design > Call to Copy of Action/Call to Existing Action
    • Click the Insert Call to New Action down arrow in the toolbar and select Call to Copy of Action/Call to Existing Action from the drop-down list.
    • Click the Call to New Action down arrow in the Record toolbar during a recording session and select Call to Copy of Action/Call to Existing Action from the drop-down list.
Important information
  • When inserting a call to copy of action, you can view the location of the original action in the General tab of the Action Properties dialog box.
  • When inserting a call to existing action, you can create an additional call to any reusable or external action in your test by pressing Ctrl while you drag and drop the action to another location at a parallel (sibling) level within your test.
Related tasks

Display / modify action data

User interface elements are described below:

UI Elements

Description

From test

The name of the test containing the action you want to use. You can also enter an ALM folder or a relative path.

If you enter a relative path, UFT One searches for the test in the folders listed in the Folders pane of the Options dialog box (Tools > Options > GUI Testing tab > Folders node).

If you are working with the Resources and Dependencies model with Quality Center or ALM, specify an absolute Quality Center / ALM path.

Action

All local actions (actions that are stored with the test you selected).

When you select an action, its type (Non-reusable Action or Reusable Action) and description, if one exists, are displayed. This helps you identify the action you want to copy.

Note: When inserting an existing action, external actions that the test calls are also displayed in the list. If the action you want to call is already called from within the selected test, you can select it from the list of actions. This creates another call to the original action.

Edit new action properties (Call to Copy of Action only)

When selected, the Action Properties Dialog Box is displayed when you click OK. You can then modify the action properties.

Tip: If you do not select this option, you can modify the action's properties later by right-clicking the action icon in the Keyword View and selecting Action Properties.

Location

The location to insert the action.

If the currently selected step is a reusable action from another test, the call to the copy of the action is added automatically to the end of the test, and the After the current step option is unavailable.