Micro Focus QTP (UFT) Forums
Transfer handle to newly opened browser - 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: Transfer handle to newly opened browser (/Thread-Transfer-handle-to-newly-opened-browser)



Transfer handle to newly opened browser - eltee - 04-29-2011

Hi,

After clicking on a link in the IE browser, it opens up a new IE browser. The remaining tests need to be done in the newly opened IE browser. Could you please guide me to change QTP's focus to the new browser.

Thanks,
Liju


RE: Transfer handle to newly opened browser - UFTEnthusiast - 04-29-2011

HI,

Hope below links are useful.
ttp://motevich.blogspot.com/2007/12/how-to-minimize-qtp-window.html
http://relevantcodes.com/qtp-browser-methods-activate-maximize-minimize/



Thanks,


RE: Transfer handle to newly opened browser - vIns - 04-29-2011

You can use index property

Code:
Browser("micclass:=Browser","index=1").Page().......