| || |
VBScript snippet to monitor memory usage
Anyone have a VBScript function/snippet that will get memory usage statistics. I need something like this so I can check to see if an application under test has a memory leak (eats up avail. memory).
I did not find anything like this in QTP or some of the sites I hit via Google.
Thanks for any help. [img]images/icons/cool.gif[/img]
Re: VBScript snippet to monitor memory usage
What development environment are your developers using? What language?
You would probably be better off using something designed specifically for that language/environment than trying to squeeze VBS into do it.
There are thousands of leak detectors for the various languages, so it shouldn't be hard to find one, then run it using QTP, if you are sure you want to do that.
Just a note, but QTP is really more for functional testing and doesn't really do load/stress testing all that well, so if that is what you are looking for, you might consider LoadRunner, or something like that...