Working With Tasks

Applies to TestComplete 15.62, last modified on March 19, 2024

This topic describes common tasks you can accomplish with network suite tasks in the Tasks editor:

Adding New Tasks

To add a new task, do any of the following:

  • Click Add New Item on the Tasks editor’s toolbar.

-- or --

  • Right-click somewhere in the Tasks editor and select New Item from the context menu.

-- or --

  • Right-click the desired job item in the Jobs collection in the Project Explorer and select Add | New Item from the context menu.
  • Specify an appropriate name for the new task in the ensuing dialog and then press OK.

TestComplete will add the new task and display it in the editor.

Copying Tasks

To create a new task by copying properties of an existing task, do the following:

  • Select the task, whose properties you would like to copy, in the Tasks editor.
  • Right-click the selected task and select Cut or Copy from the context menu.
  • Right-click somewhere in the editor and choose Paste from the context menu.

TestComplete will create a new task whose property values will coincide with the property values of the copied task.

Modifying Task Properties

To modify a task property, select the corresponding column for the desired task in the Tasks editor, choose Edit from the context menu or press F2 and enter the desired value in the editor.

For information on properties you can modify in the editor, see Editing Task Properties.

Verifying Tasks

To verify whether the changes you have made to task properties are valid, do the following:

  • Select the desired task in the Tasks editor (you can use Ctrl- and Shift-click for multiselection).
  • Right-click the selection and choose Verify from the context menu or click Verify on the Tasks editor toolbar.
Running Tasks

To run a task, do the following:

  • Select the desired task in the Tasks editor (you can use Ctrl- and Shift-click for multiselection).
  • Right-click the selection and choose Run from the context menu or click Run on the Tasks editor’s toolbar.
Deleting Tasks

To delete a task from a job’s task collection, do the following:

  • Select the desired task in the editor (you can use Ctrl- and Shift-click for multiselection).
  • Right-click the selection and choose Delete from the context menu or press Delete.
Saving Changes

To save the changes you have made to one or more tasks in the Tasks editor, in the Project Explorer panel select the node of the job that contains those tasks and then choose File | Save from the TestComplete main menu.

To close the editor without saving any changes, close the editor’s tab and click “No” when TestComplete asks you to save the changes.

See Also

Distributed Testing
Editing Task Properties

Highlight search results