Applies to TestComplete 14.70, last modified on October 20, 2020

Description

Use the ExportResults method to export the results of the last test run to a .mht file.

Declaration

Integration.ExportResults(FileNameExportVisualizerImages)

FileName [in]    Required    String    
ExportVisualizerImages [in]    Optional    Boolean Default value: True   
Result None

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

FileName

Specifies the fully-qualified path to the resulting .mht file. Note that the specified name must correspond to an existing directory. Otherwise, an error will occur.

ExportVisualizerImages

Specifies whether TestComplete stores Visualizer images along with exported results. If the parameter's value is False, TestComplete does not export Visualizer images and the results occupy less space on your computer. If you do not need to save the Visualizer data or you want to reduce the overall size of exported results, we recommend that you set this parameter to False.

Result Value

None.

Example

To view an example that demonstrates how to use the ExportResults method, see the Working With TestComplete via COM - Overview help topic.

See Also

Working With TestComplete via COM - Overview
GetLastResultDescription Method
RunProjectSuite Method
RunProject Method
RunProjectItem Method
RunProjectTestItem Method
RunRoutine Method
RunRoutineEx Method

Highlight search results