Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Closing modal dialogs for IE
08-29-2011, 09:48 AM
Post: #1
Closing modal dialogs for IE

Hello, I am looking for a way to close Modal dialog for IE (e.g. Default browser check). Below is some sample code I am using:

Set objDialog = objBrowser.Dialog("is owned window:=True")
objDialog.Close

I am getting an error with this code on the "Set" line. Is there a better way to achieve this?
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  ALM11 closing out during java script run.. QTPNewbie 0 267 01-14-2012 07:25 AM
Last Post: QTPNewbie
  Closing a specific Excel file mv8167 2 722 08-19-2011 08:33 PM
Last Post: mv8167
  Getting 424 Object Not found error when closing a window ruslan1234 0 998 03-10-2011 09:56 PM
Last Post: ruslan1234
  Handling of security dialogs for different environments Nishaat 4 584 09-08-2010 07:02 AM
Last Post: basanth27
  launching and Closing QTP Application by using single file vnskumar 4 2,056 07-26-2010 11:42 PM
Last Post: vnskumar

Forum Jump:


User(s) browsing this thread: 1 Guest(s)