SelectProfiler Method

Applies to TestComplete 15.64, last modified on May 16, 2024


Use the SelectProfiler method to change the current profiler in AQtime.



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

Applies To

The method is applied to the following object:


The method has the following parameter:


String that specifies the profiler to be set as the current profiler. You should specify the profiler name as it is returned by the GetProfilerName method or as it is displayed in AQtime, for example, use Performance Profiler but not, performanceProfiler.

Result Value

True, if the current profiler was changed successfully, False otherwise.


The profiler can be changed only before or after the profiling run. It cannot be changed when AQtime is profiling an application. To determine whether AQtime is profiling or not, use the IsProfilingStarted method.


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

See Also

GetProfilerName Method
GetProfilersCount Method
Attach Method
StartProfiling Method

Highlight search results