If Not oFrame.WebEdit(sObjName).Exist(HT) Then
Call ExcelReport("Warning", "gbExecuteData","Can't Find "&sObjName&" WebEdit ")
gbExecuteData = False
Else
oFrame.WebEdit(sObjName).Set sObjValue
Call ExcelReport("Pass","gbExecuteData","Set "&sObjName&" WebEdit "&sObjValue&" Succ!" )
End If
Case "WebButton" 'WebButton
If Not oFrame.WebButton(sObjName).Exist(HT) Then
Call ExcelReport("Warning", "gbExecuteData","Can't Find "&sObjName&" WebButton ")
gbExecuteData = False
Else
oFrame.WebButton(sObjName).Click
Call ExcelReport("Pass","gbExecuteData","Click "&sObjName&" WebButton "&sObjValue&" Succ!" )
End If
Case Else
Call ExcelReport("Warning", "gbExecuteData","Object Type Error, Object Type "&sObjType&" not surpport yet")
End Select
Next
End Function作者: superwang001 时间: 2011-7-7 10:09
非常感谢,藏龙卧虎,你有没有qq号,或者加到我的群里:8080735