About Code Explorer

Applies to TestComplete 15.70, last modified on December 17, 2024
Starting from version 14.0, the Code Explorer panel is hidden from the TestComplete UI by default. To learn how to make it visible, see below.

About

The Code Explorer panel displays a tree of projects in the opened project suite, units included in each project, script routines included in each unit as well as summary information on all units, projects and the entire project suite (see Code Metrics). The Code Explorer helps you view the whole code structure at once. It also helps you easily navigate through your script routines, delete routines or copy and paste them among units with ease, run individual routines, and even perform source control operations over script units. The Code Explorer simplifies various tasks that can be done directly in the Code Editor, for example, copying, pasting, and running routines.

Code Explorer Panel

To Open the Panel

By default, the Code Explorer panel is hidden. To make it visible, select View > Select Panel from the TestComplete main menu, and then select Code Explorer in the resulting dialog.

If the panel is not available, make sure that the Code Explorer plugin is enabled in the File > Install Extensions dialog. You can find the plugin in the Common group.

Icons

The script unit elements are displayed in the Code Explorer with one of the following icons:

  • - A script procedure (a routine that does not return a value), or a VBScript class method.
  • - A script function (a routine that returns a value).
    Note: JavaScript and JScript functions are displayed with the icon.
  • - A class.
  • - A class field.
  • - A class property.

Code Explorer Plugin

To use the Code Explorer panel you need the Code Explorer plugin. By default, the plugin is installed and is enabled automatically. If you cannot see the Code Explorer panel, check if the plugin is enabled:

  • Select File > Install Extensions from the main menu of TestComplete.

  • In the Install Extensions dialog, extend Common, and then select Code Explorer:

    Enabling the Code Explorer plugin

    Click OK to close the dialog.

After you enabled the plugin, make the panel visible by selecting View > Select Panel from the main menu of TestComplete.

See Also

Code Editor
Code Metrics
Checking Syntax
Code Explorer Options Dialog

Highlight search results