Forum Discussion

Cavaler's avatar
Cavaler
New Contributor
8 years ago
Solved

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
    8 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.

  • AlexKaras's avatar
    AlexKaras
    8 years ago

    Hi,

     

    > Also, I would greatly appreciate a way to read generated results programmatically.

    The answer may depend on your actual needs, but https://support.smartbear.com/viewarticle/43222/ might be an option.