Please ensure to include your code between [code][/code] tags while asking or replying to questions.

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

QTP PErformance issues

08-19-2009, 12:50 PM
Post: #1
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago QTP PErformance issues

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
Find all posts by this user
Quote this message in a reply
08-19-2009, 01:51 PM
Post: #2
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-19-2009, 03:18 PM
Post: #3
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
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
Find all posts by this user
Quote this message in a reply
08-19-2009, 03:18 PM
Post: #4
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
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.

Thanks,
SUpputuri
Find all posts by this user
Quote this message in a reply
08-19-2009, 03:21 PM
Post: #5
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
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.

Find all posts by this user
Quote this message in a reply
08-19-2009, 03:49 PM
Post: #6
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
(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'.
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?
-from QTP
Please let me know if you need any more info.
Find all posts by this user
Quote this message in a reply
08-19-2009, 04:15 PM
Post: #7
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
Prabhat- does that mean issue is resolved? Smile (i mean your last post contains -- nothing)

Find all posts by this user
Quote this message in a reply
08-19-2009, 04:24 PM
Post: #8
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
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?
Find all posts by this user
Quote this message in a reply
08-19-2009, 04:29 PM
Post: #9
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
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.

Find all posts by this user
Quote this message in a reply
08-19-2009, 06:04 PM
Post: #10
Solved: 1 Year, 3 Months, 5 Hours, 19 Minutes, 24 Seconds ago RE: QTP PErformance issues
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 ?

Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life..
Pulsating Fiction - The writer in meSmile
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Issues in QTP11.0 with .Net Add-in Nagaraju6 0 770 02-05-2013 11:58 AM
Last Post: Nagaraju6
  QC Install issues manisun 0 2,935 08-15-2012 02:01 AM
Last Post: manisun
  HP Run Results Viewer Issues Apptester2000 0 1,541 07-20-2012 08:36 PM
Last Post: Apptester2000
  QTP Performance is very slow rajaselvan.d 0 1,103 04-10-2012 04:25 PM
Last Post: rajaselvan.d
Toungue Two dialog box issues mv8167 3 1,275 09-28-2011 11:09 PM
Last Post: mv8167



User(s) browsing this thread: 1 Guest(s)