SystemUtil.Run "iexplore.exe"
Set oBrowser = Browser("micClass:=Browser")
Set oEdit = oBrowser.Page("micClass:=Page").WebEdit("name:=wd","index:=0")
oBrowser.Navigate "www.baidu.com"
With oEdit
.Set "shishishi"
.Submit
End With
oBrowser.Sync
oEdit.init '隐藏方法,用于重新同步页面上的测试对象
oEdit.Set "http://www.sina.com" //这样就不会报错了,其实就是因为dom还米有加载完成造成