StartProfiling Method

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

Use the StartProfiling method to command AQtime to run the application and start profiling. If the profiling status is enabled (see EnableProfiling), AQtime starts profiling the process right after the application has been started. If the profiling status is off, AQtime will start profiling when you enable it with the EnableProfiling method.

Declaration

AQtimeObj.StartProfiling()

AQtimeObj An expression, variable or parameter that specifies a reference to an AQtime object
Result Boolean

Applies To

The method is applied to the following object:

Result Value

True, if the application was started successfully. False otherwise.

Remarks

Settings of profiling areas and triggers, the selected profiling mode (Normal, ASP.NET, IIS, Service or COM Server), and the currently selected profiler are stores in AQtime project files. When you profile your application using the StartProfiling method, AQtime uses the profiling mode, area and trigger settings stored in your AQtime project. Therefore, we recommend to prepare your project in AQtime before you profile that project with AQtime. If you need to change these settings, connect to and work with AQtime via its COM model.

Example

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

See Also

Attach Method
IsProfilingStarted Method
WaitForEndOfProfiling Method
WaitAndExportResults Method
TerminateProfiling Method
SelectProfiler Method
Close Method

Highlight search results