Applies to TestComplete 15.64, last modified on June 12, 2024


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


Integration.ExportResults(FileName, ExportVisualizerImages)

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

Applies To

The method is applied to the following object:


The method has the following parameters:


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.


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



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