WaitAndExportResults Method

Applies to TestComplete 15.65, last modified on July 17, 2024


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).


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:


The method has the following parameters:


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


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.


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