While working on a web applications using QTP, you may have noticed most of the time QTP runs too fast in comparison to the application. Moreover QTP would not perform any operation on a particular page unless that page has loaded completely (100%). You may wonder in bewilderment about what to do to make the application (web page) load faster.
Here I would like to give you a simple tip to alleviate your pain (and waiting time) a bit.
If you will notice carefully, most of the times text on a web page renders very quickly. It is the images that creates problem and increases the web page loading time. What if we can stop the images from loading altogether?
All browsers provides this facility whereby you can stop pictures from showing. To do this in IE6, go to Tools > Internet Options > Advanced tab. Scroll down to ‘Multimedia’ section and uncheck ‘Show pictures‘.
To do this in Firefox, go to Tools > Options > Content. Uncheck ‘Load Images automatically‘
Run your script now and let us know if this tip helped you. [For obvious reasons, this tip won't be of any use when you have to work on image/bitmap checkpoints.]
Related: 10 Tips to enhance the performance of QTP scripts
Have you downloaded the FREE Optimizing QTP eBook yet? Get It Now!
If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.
Related posts:




8 comments ↓
Thanks for the tip. Can we change the setting via the QTP script itself ?
Cool!
Why I can’t think this solution before you?
Pretty nice post. I just found your blog and wanted to say
that I have really enjoyed reading your blog posts. In any case
I’ll be subscribing to your feed and I hope you post again soon!
Thx a lot for sharing information
I must say, you are providing great services to qtp users.
Can u discuss abt qtp 10, and its features
I anticipate the reply from u..
Thanks
I am getting tdclient.dll initialization issue while launching the QC from QTP.Anyone can help me?
While excuting the script for a longer duration, my system is getting locked. Is there any way to keep the system unlocked whle executing the script. I do not want to violate any security policy. Can anyone suggest me a solution?
You can use below script
Before the script
SystemUtil.BlockInput
End of the Script
SystemUtil.UnBlockInput
System can not unlocked .
Leave a Comment