Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to close a Window
#6
Not Solved
Try This it worked for me

Code:
hWnd = Browser(BrowserName).GetROProperty("hwnd")      
hWnd = Browser("hwnd:=" &hWnd).Object.hWnd                                  
Window("hwnd:=" & hWnd).Activate  
Browser("hwnd:=" & hWnd).Close
Reply


Messages In This Thread
Unable to close a Window - by Brian T. - 04-25-2012, 12:13 AM
RE: Unable to close a Window - by sshukla12 - 04-25-2012, 10:18 AM
RE: Unable to close a Window - by Brian T. - 04-25-2012, 07:28 PM
RE: Unable to close a Window - by jesonvan - 09-21-2012, 01:28 PM
RE: Unable to close a Window - by Ankesh - 09-24-2012, 06:43 PM
RE: Unable to close a Window - by TesterJan - 04-25-2013, 09:35 AM
RE: Unable to close a Window - by Staff - 07-05-2013, 02:38 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)