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‘.

uncheck-show-pictures

To do this in Firefox, go to Tools > Options > Content. Uncheck ‘Load Images automatically

ff-uncheck-load-images

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