How to handle a Security Alert Pop Up on IE by VBScript

Posted by eightants on Stack Overflow See other posts from Stack Overflow or by eightants
Published on 2010-05-03T18:03:38Z Indexed on 2010/05/03 18:08 UTC
Read the original article Hit count: 257

Filed under:

I need to create a VBScript (WSH) to automatically open Internet Explorer and navigate a security web page. However, it always pops up a security alert before displaying that website. Can anyone provide a solution for either disables the pop up function (security certification) in IE or accepts the pop-up by the script?

Here is my script:

Dim objIE 
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Visible = True
objIE.Navigate "https://10.10.10.101:9000/Portal"

????

Set objIE = Nothing

Thanks a lot.

© Stack Overflow or respective owner

Related posts about vbscript