Micro Focus QTP (UFT) Forums
Internet Explorer resizes with every iteration - 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: Internet Explorer resizes with every iteration (/Thread-Internet-Explorer-resizes-with-every-iteration)



Internet Explorer resizes with every iteration - Arlequin - 05-13-2009

Hi,
I just started to learn QTP and walked through the first tutorials and all the beginners stuff. So I made some tests with iterations in the demo application http://newtours.demoaut.com.
Whats very annoying is that the IE browser window changes its size with every iteration. That means, the window closes after finishing the first iteration. Then it opens again to walk through the second one, but the browser window gets smaller in height - smaller in height with every new iteration!
If I do not close the browser between the iterations, then the browser window all the time is resized after the complete test to a minimum of height. In fact, its just the captionbar, the menubar, the toolbar and the statusbar visible - no browser page at all. Continually I spend my time to resize the browser window, but the next time the bad effect recurred. What's the trick?
Thanks in advance, P.


RE: Internet Explorer resizes with every iteration - tarunpandey4@gmail.com - 05-13-2009

You might be doing same when you are recording the application

GO to Tools-> Option-> Web-> Advanced Web Option

You can find setting over there Resize browser on run if resized during a recording session

Let me know if it help you


RE: Internet Explorer resizes with every iteration - Arlequin - 05-13-2009

Now it works, browser's size stays the same over the test run!
(I can't remember whether or not I resized the browser during recording, but - of course - I never resized it so small that no content would be visible.)

Thanks!