If Browser("Browser").Dialog("Microsoft Internet Explorer").Exist Then
error_message = Browser("Browser").Dialog("Microsoft Internet Explorer").Static("Error code:").GetROProperty("text")
MsgBox(error_message)
Else
Reporter.ReportEvent micFail,"Failed","error dialog don't show!"
End If