Micro Focus QTP (UFT) Forums
Closing a 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: Closing a Browser (/Thread-Closing-a-Browser)



Closing a Browser - Andrew.Stockdale - 10-21-2009

To All

I'm trying to findout how to close an internet explorer browser. Is there any code i can input into expert view in QTP??

Thanks in advance for your help

Andy


RE: Closing a Browser - basanth27 - 10-21-2009

Several Ways,

1. you can do by vbscrpting.

Easiest is through this QTP supported function called,

2. SystemUtil.CloseProcessByname "Iexplore.exe"