Applies to TestComplete 14.50, last modified on August 05, 2020

The General Options group of the default project properties includes settings that let you specify the default value of general project settings for new TestComplete projects. To view or change these default options, select Tools | Default Project Properties from the main menu of TestComplete and then choose Project | General from the tree displayed on the left side of the ensuing Default Project Properties dialog.

You can change the following options:

  • Object tree model - Specifies the value that TestComplete will assign to the Object tree model setting of a new project during creation. You can then modify it on the Properties page of your project editor (see Project Properties - General Options).

    For more information, see Project Properties - General Options and Object Tree Models.

    TestComplete also uses the default Object tree model option to display the hierarchy of windows in the Object Browser when there is no open project in TestComplete.

  • Log location - Specifies the path to the folder that will hold log files for projects by default. See Test Results. This path can be either relative, or absolute. If the path is relative, it will be combined with the path to the project file to obtain the target folder name. If the option holds an absolute path, it will be used as is. By default, the option holds the string Log. This is a relative path, so TestComplete will post the log files to the Log subfolder of the project folder.

    You can either type the desired name or click the ellipsis button and select the desired folder in the ensuing dialog. Also, you can store the target folder name (the whole name or some part of it) to the desired environment variable and substitute the name of the variable for the stored part of the folder name. For instance, you can specify the following path to the folder: "%TEMP%\ProjectLogs\".

  • Units encoding - Specifies the format, which TestComplete will use for script unit files by default. Possible values include ANSI, UTF-8, UTF-16 and Auto. For more information on them and on what format to choose, see Units Encoding.

  • Images - This option specifies the format used for the following images:

    Note: This option does not affect images captured by Test Visualizer as it always uses the PNG format.

    The supported formats are --

    • BMP
    • JPEG
    • PNG
    • TIFF
    • GIF
    • ICO

    To change the format or modify its settings, click the Configure button and use the subsequent Image Settings dialog. To learn more about specifying image settings, see Specifying Log Images Format.

  • Disable DWM before capturing image - This option has effect only if you use TestComplete on an operating system with the Aero theme enabled. When capturing a window’s image on these operating systems (for example, when you create a region checkpoint), you may get inaccurate results: a useless frame around the window or other artifacts. This issue is caused by specifics of the operating system’s Desktop Window Manager (DWM) component. Enabling this option lets you avoid the issue. If the option is on, TestComplete turns off the DWM composition before it captures an image and thus produces correct screenshots. Once an image is ready, DWM is turned on again.

    The option affects all TestComplete subsystems except for Test Visualizer. Test Visualizer captures window images as they are.

    Enabling this option causes the screen to blink while an image is being captured, however, this does not affect the image quality.
  • Recording

    • Record user actions over tested applications only - If this option is enabled, TestComplete records only those user actions that are performed over the applications included in the Tested Applications collection of your project. Otherwise, TestComplete records user actions performed over all the applications running in the system during test recording.

To save the changes you made to options and close the dialog, press OK. Cancel will close the dialog discarding any changes.

See Also

Default Project Properties - Project Options
Project Properties - General Options
Object Tree Models
Project Properties

Highlight search results