Micro Focus QTP (UFT) Forums
Test results ends up with Browser window resized - 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: Test results ends up with Browser window resized (/Thread-Test-results-ends-up-with-Browser-window-resized)



Test results ends up with Browser window resized - jbarker1 - 01-19-2010

I am a newbie to this forum as well as creating tests with QTP. I have not started my classes as of yet but am trying to get a jump on learning following the Mercury Tutorial that came with the QTP 9.5 product. Problem is I do not have outside internet access to the Flight website so I am using our product to test with.

I am happy to say my simple login script to our product works but the ending results resizes my browser window leaving it to small. I run the Learn several times to try and have this change but no matter what I have done it still shrinks the page. The web site home page is a secured site. I don't know if that matters. I have excepted the certificate so as not to receive the warning pop-ups. Is there anyway to tell QTP when it finishes the login to open the Browser bigger or full screen? I want to build on this test and need the window to be opened more or even full screen.

Thank you for your help.


RE: Test results ends up with Browser window resized - Saket - 01-20-2010

try Browser("").Fullscreen to make your browser in fullscreen mode. or else paste your piece of code whatever you have tried so far.