![]() |
doubts - 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: doubts (/Thread-doubts) |
doubts - tirumal - 05-09-2011 what is use of option explicitly? How to close Entire Qtp window through script? There is 10 windows open in browser, How to close the all windows expect 1 window? RE: doubts - Jay - 05-10-2011 1. Option explicit means you have to declare variable before you using. 2. You can use the below code to close QTP Code: Private Function CloseQTP 3. find the answer in the following link http://relevantcodes.com/qtp-closing-multiple-browser-windows/ |