On error resume next
Dim tr
SystemUtil.Run "E:\Program Files\Internet Explorer\iexplore.exe","","E:\Documents and Settings\Administrator","open"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://200.200.31.165:1000"
Browser("Browser").Page("登录").WebEdit("user").Set "Admin"
Browser("Browser").Page("登录").WebEdit("password").SetSecure "4a8a3531a5b49508b41d0541850c56c0"
Browser("Browser").Page("登录").WebButton("登 录").Click
Browser("Browser").Page("Page_2").Frame("leftFrame").WebElement("当前用户: Admin").Check CheckPoint("当前用户: Admin")
tr=Browser("Browser").Page("Page_2").Frame("leftFrame").WebElement.GettoProperty("innertext")
If tr<>"当前用户: Admin" Then
Browser("Browser").Close
End If