GetResults Method

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

Use the GetResults method to command AQtime to generate profiling results. A call to this method has the same effect as pressing the Get Results button in AQtime. Note that profiling results are also generated automatically when the process being profiled is stopped.

Typically, GetResults is used to --

  • Obtain profiling results at the current execution point of the application.

  • Obtain results if the profiled process cannot be stopped.

  • Obtain results before the profiled application is terminated.

Declaration

AQtimeObj.GetResults(Timeout)

AQtimeObj An expression, variable or parameter that specifies a reference to an AQtime object
Timeout [in]    Optional    Integer Default value: 30000   
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Timeout

Specifies the number of milliseconds AQtime will wait for results to be generated. By default, it is 30000 (30 seconds). If results are not generated until the timeout expires, the method considers that the generation of results failed.

Result Value

True, if results were generated successfully and False otherwise.

Example

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

See Also

ExportCurrentResults Method
TerminateProfiling Method
WaitAndExportResults Method

Highlight search results