Running in tandem with TestComplete automated test

Memory profiling for .NET developers

Moderators: Luke Jefferson, StephenC, AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

Running in tandem with TestComplete automated test

Postby nohorse » Thu Jul 12, 2012 2:28 am

I'd like to run ANTS Memory profiler while I'm also runnig my test scripts using TestComplete. Are there instructions for how to accomplish this?
nohorse
 
Posts: 3
Joined: Thu Jul 12, 2012 2:25 am

Postby james.billings » Fri Jul 13, 2012 8:28 am

Hi,
I'm not familiar with the testing tool you mention, but if it requires you to start up your application via their process then this may make it hard to get the profiler to hook in (unless you can use the attach to process) option once your app is up and running?

You can also get your code to take snapshots at certain points using the API but the profiler still needs to be connected to your application in the usual way to begin with.
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Re:

Postby nohorse » Fri Jul 13, 2012 4:09 pm

thanks for responding. TestComplete is an automated testing tool. It runs the my app via scripts and can simulate user interactions. the initial parts of the script launch my app. I'd like to have that launch include ANTS memory profiler. I looked for some command line options for ANTS, but the only ones I found were from version 4. I'm using version 7. Do you have examples of ANTS being launched from the command line, or as part of an automated testing process?
nohorse
 
Posts: 3
Joined: Thu Jul 12, 2012 2:25 am

Postby james.billings » Fri Jul 13, 2012 4:17 pm

Thanks for your reply- I don't think we do. One of my colleague replied to your query on StackOverflow as well, indicating the ability to use the API to take snapshots which may be helpful; but it's not common that people integrate it into a test process in the way you describe (at least not as far as I'm aware)
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Re:

Postby nohorse » Fri Jul 13, 2012 4:28 pm

Thanks so much for following up on all my various queries. I'll continue with the manual testing, and look into that snapshot API. The particular bug i'm trying to track down only happens after continued usage, so I was hoping to automate those iterations. It would be really handy to have some command line options for the memory profiler. If you have a feature request forum, I'll make a request there.
nohorse
 
Posts: 3
Joined: Thu Jul 12, 2012 2:25 am

Postby dom.smith » Wed Aug 29, 2012 3:56 pm

Hi,

Thanks for requesting the feature.

The main reason that the API was removed from ANTS Memory Profiler at version 4 was that there's no sensible way to tell the command line version of ANTS Memory Profiler to take a snapshot when something else happens in some other program.

I've added your request to our internal tracking database. In the meantime, I hope that you're able to use the API to track down your bug. There's more information about the API at http://www.red-gate.com/supportcenter/c ... apshot_api

Dom.
Dominic Smith,
Project Manager,
Red Gate Software.
dom.smith
 
Posts: 95
Joined: Thu Jun 03, 2010 5:54 pm
Location: Cambridge, UK


Return to ANTS Memory Profiler 7

Who is online

Users browsing this forum: No registered users and 0 guests