Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Closing a Browser
#1
Solved: 10 Years, 9 Months ago
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
Reply
#2
Solved: 10 Years, 9 Months ago
Several Ways,

1. you can do by vbscrpting.

Easiest is through this QTP supported function called,

2. SystemUtil.CloseProcessByname "Iexplore.exe"
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SAP GUI gets hanged while closing the Windows Pop Up kathirvelnagaraj 0 5,317 10-23-2015, 06:47 PM
Last Post: kathirvelnagaraj
  recovery scenario for closing a message box itself ashima 0 2,128 12-26-2013, 11:10 AM
Last Post: ashima
  closing browser at end bistritapcv 3 5,727 04-12-2013, 07:21 AM
Last Post: basanth27
  error object disabled on line 9 where it says " Browser("Browser").CloseAllTabs" kp_usa 1 3,084 12-20-2012, 12:20 AM
Last Post: adityapant27
  closing the browser diya 3 3,364 11-27-2012, 10:14 PM
Last Post: diya

Forum Jump:


Users browsing this thread: 1 Guest(s)