Forum Discussion

bulletburps's avatar
12 years ago

TestComplete + AQtime for code coverage

Hello!



In my test complete project, I open and close the application that I want to code coverage profile frequently.  Is there anything in either program that makes this easy?  What I am experiencing is that after the first time testcomplete opens up aqtime, subsequent attempts at opening it crash the test, because it doesn't respond well to the aqtime project already being open well.  Is it possible for it to respond better?



My current clunky solution is to close aqtime via testcomplete after every time that application being tested is closed.  After that, I merge the reports.



Is this the best solution?  I wanted to be sure, before I started modifying all of my tests to take that approach.



Thanks!

1 Reply


  • Hi Shaun,


     


    Your approach sounds good. The only one thing I can suggest is to get the profiling results from AQtime before closing it. You can use the WaitAndExportResults method for this.