QTP PErformance issues - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: QTP PErformance issues (/Thread-QTP-PErformance-issues) Pages:
1
2
|
QTP PErformance issues - prabhat - 08-19-2009 Hi All I am new to this forum. I have 200 QTP test scripts which I run everynight in a regression suite. From last one week, I see that QTP hangs after completing 50-60 scripts. Can any one please let me know how to analyse this issue? Is there any log which gives me details on what is going wroking in QTP? My application for which I have written these scripts / SUT(System Under Test) is working fine and is responding also. I see that only QTP is not responding. Please help me and let me know : What all steps I need to take before starting my regression? ( any cleanup activities for QTP to run smoothly) Waiting for the replies...Your help is appreciated. Thanks in advance Prabhat RE: QTP PErformance issues - Tarik Sheth - 08-19-2009 Hi, few questions. 1. Is object created and destroyed properly in the script, its more about how script is written. 2. Are you running from remote machine or any vpn required to access the license. 3. What is your system configuration (memory,RAM and processor) Moreover you can just remove temp files to free up memory and virtual memory. RE: QTP PErformance issues - prabhat - 08-19-2009 Please see my reply below : few questions. 1. Is object created and destroyed properly in the script, its more about how script is written. - Yes. Its taken care. 2. Are you running from remote machine or any vpn required to access the license. - I am running in the network mschine ( not remotely) but accessing the license from the pool (license server) 3. What is your system configuration (memory,RAM and processor) - 3GBRAM, 3.2GHz Processor,Intel®Xenon RE: QTP PErformance issues - supputuri - 08-19-2009 besides the above you have to run the batch file which will release and check the status of dlls'. here is the path of batch file: C:\Program Files\Mercury Interactive\QuickTest Professional\bin\QuickTestProfessional.bat Here i have a question, are you running the scripts from QC or QTP? Please let me know if you need any more info. RE: QTP PErformance issues - Saket - 08-19-2009 The best which I can suggest, which I am also using is Restart your machine each time your script completes. this can be done if you open and run your test using QTP AOM. RE: QTP PErformance issues - prabhat - 08-19-2009 (08-19-2009, 03:18 PM)QTPKing Wrote: besides the above you have to run the batch file which will release and check the status of dlls'. RE: QTP PErformance issues - Saket - 08-19-2009 Prabhat- does that mean issue is resolved? (i mean your last post contains -- nothing) RE: QTP PErformance issues - prabhat - 08-19-2009 You mean after completion of each test script? Then in that case i will have to restart my system 200 times!!! Before starting execution I am restarting the machine, cleaning the temp files and setting up the required environment for the application to run. I am not using QTP AOM. We have Reusable Actions, Reusable Functions etc. Do you suggest to use QTP AOM? RE: QTP PErformance issues - Saket - 08-19-2009 Yes, Exactly I meant to use QTP AOM. restart your machine after completion of each script. In this way you will not have to bother for any memory issues and your scripts will be running fine. RE: QTP PErformance issues - basanth27 - 08-19-2009 Saket - This aint a good approach. In larger automation projects a restart is as good as a script execution time. Instead of this you can monitor QTP health to check for memory leaks or after say every 50 scripts invoke the AOM to Clear cookies,temporary internet files etc if IE is used. Most of the times QTP hangs and this issue has been beaten back and forth at HP support, however there inefficiency has no bounds. They have been fighting for a solution, meantime they suggest to monitor QTP memory leaks. Prabhat - What version of QTP do you use ? |