WaitAndExportResults Method

Applies to TestComplete 15.45, last modified on December 01, 2022

Description

The StartProfiling or Attach methods (they are used to start profiling) return immediately after profiling is started. WaitAndExportResults lets you pause the script execution until profiling is over. After profiling has finished, the method saves the profiling results to the specified file(s).

Declaration

AQtimeObj.WaitAndExportResults(SummaryResultsFile, FullResultsFile)

AQtimeObj An expression, variable or parameter that specifies a reference to an AQtime object
SummaryResultsFile [in]    Optional    String Default value: Empty string   
FullResultsFile [in]    Optional    String Default value: Empty string   
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

SummaryResultsFile

Specifies the file to which the method will save brief profiling results.

FullResultsFile

Specifies the file to which the method will export full profiling results.

Result Value

True, if profiling was finished successfully and the results were saved successfully. False otherwise.

Example

To view an example, see the Integration With AQtime Using the AQtimeIntegration and AQtime Objects help topic.

See Also

WaitForEndOfProfiling Method
ExportCurrentResults Method
StartProfiling Method
Attach Method
IsProfilingStarted Method

Highlight search results