My Blog List

Tuesday, September 11, 2012

QTP - Memory Usage and Others

Lot of guys will face app hanging problem while script execution in QTP. You can always use QTP provided SystemMonitor API to know memory usage by application an you can decide your control mechanisms.

SystemMonitor.GetValue("YourApp.exe","Memory Usage (in MB)")


In the same way, you can get processor usage, Os details, etc..
If this will give you exact thing, always you can use WMI to get every system information you need.

3 comments:

  1. Thank you for the info. It sounds pretty user friendly. I guess I’ll pick one up for fun. thank u









    Travel Agency Automation

    ReplyDelete
  2. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.....:)
    Automation

    ReplyDelete
  3. Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium

    ReplyDelete