QTP通过命令行打开IE

Dim oShell
Dim Commond
Set oShell = Wscript.CreateObject ("Wscript.shell")
Commond = Chr(34) & "C:\Program Files\Internet Explorer\IEXPLORE.EXE" & Chr(34) & " -new -nomerge -nohome  www.baidu.com"
oShell.Run Commond
Set oShell = Nothing

你可能感兴趣的:(IE,IE,命令行,vbs,vbs,qtp,qtp)