Working With Jobs

Applies to TestComplete 15.69, last modified on November 13, 2024

This topic describes common tasks you can accomplish in the Jobs editor:

Adding New Jobs

To add a new job to the jobs collection, do any of the following:

  • Right-click anywhere in the Jobs editor and select New Item from the context menu.

-- or --

  • Click Add New Item on the Jobs editor toolbar.

-- or --

  • Right-click the Jobs node in the Project Explorer panel and select Add | New Item from the context menu.
  • In the ensuing dialog, specify an appropriate name for the new job and click OK.

TestComplete will add a new job and display it in the Jobs editor and under the Jobs node in the Project Explorer panel.

Copying Jobs

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

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

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

Modifying Properties Values

To modify a job’s property value, select the corresponding column for the desired job in the editor, choose Edit from the context menu or press F2 and enter the desired value in the subsequent inplace editor.

For information on job properties you can modify in the editor, see About Jobs Editor.

Verifying Jobs

To check whether a job can be run, do the following:

  • Select the desired job in the 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 editor’s toolbar.

For more information, see Verifying Tasks, Jobs, Hosts and Network Suites.

Running Jobs

To run a job, do the following:

  • Select the desired job in the Jobs editor (you can use Ctrl- and Shift-click for multiselection)
  • Click Run on the editor’s toolbar or right-click the selection and choose Run from the context menu.

-- or --

  • Right-click the desired job under the Jobs node in the Project Explorer and select Run from the context menu.

When you run a job, all the tasks that belong to it are executed concurrently. When you run several jobs, they are executed in the order they are listed in the Jobs editor.

Changing Jobs Order

To change the execution order of jobs, select a job in the Jobs editor, then drag it up or down the job list and drop it in the desired position in the list.

Deleting Jobs

To delete a job from the job collection, do the following:

  • Select the desired job in the Jobs editor (you can use Ctrl- and Shift-click for multiselection).
  • Right-click the focused job and choose Delete from the context menu or press Delete.

-- or --

  • Select the needed job in the list under the NetworkSuite | Jobs project item displayed in the Project Explorer panel and choose Remove from the context menu or press Del.
  • Once you do this, you will be asked whether you want to remove the item from the parent item. Confirm the deletion by clicking Yes.
Saving Changes

To save the changes you made to jobs in the Jobs editor, select the Jobs node in the Project Explorer panel and then choose File | Save from the TestComplete main menu.

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

See Also

Jobs Editor
About Jobs Editor
Verifying Tasks, Jobs, Hosts and Network Suites

Highlight search results