Forum Discussion

Cavaler's avatar
Cavaler
New Contributor
9 years ago

AQtime automation: how to change profiler settings?

Hello everyone,   I am trying to use AQtime 8.0 COM interface to run Coverage analysis on a simple test app (for a start). That's what I am doing on Python: aqtime = Dispatch("AQtime.AQtime") int...
  • HKosova's avatar
    9 years ago

    Cavaler wrote:

     

    But profiling is done by routines only, not by lines. It is changed in GUI easily, but I cannot find a way to change profiler settings automatically.


    Hi Cavaler,

     

    To profile by lines, use:

    intmgr.AreaManager.FullCheck = True
    intmgr.AreaManager.FullCheckLevel = 2   # eplLines

    See Managing Profiling Areas via COM for more info and examples.

     

    Alternatively, you can create a pre-configured project and use that project instead.