EnableProfiling Method

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


Use the EnableProfiling method to enable or disable the profiling status. A call to this method has the same effect as checking or unchecking the Enable\Disable Profiling button in AQtime.



AQtimeObj An expression, variable or parameter that specifies a reference to an AQtime object
Value [in]    Required    Boolean    
Result Boolean

Applies To

The method is applied to the following object:


The method has the following parameter:


If Value is True, the profiling will be enabled, if Value is False, the profiling will be disabled.

Result Value

True, if the profiling status has been changed successfully, false - otherwise.


You can change the profiling status during the profiler run. For instance, you can do this to profile only the needed parts of the application and to reduce the number of profiling results.

Note that under certain conditions, for instance, when the Allocation profiler is working, the profiling status cannot be off. It is automatically enabled.


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

See Also

Attach Method
StartProfiling Method
OpenProject Method

Highlight search results