SelectProfiler Method

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

Description

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

Declaration

AQtimeObj.SelectProfiler(ProfilerName)

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:

Parameters

The method has the following parameter:

ProfilerName

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.

Remarks

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.

Example

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