登陆判断
Dim istatus,i,jBrowser("博思档案管理信息系统").Page("博思档案管理信息系统").WebEdit("id").Set DataTable("username", dtLocalSheet)
Browser("博思档案管理信息系统").Page("博思档案管理信息系统").WebEdit("pswd").SetSecure DataTable("password", dtLocalSheet)
Browser("博思档案管理信息系统").Page("博思档案管理信息系统").Link("登 录").Click
istatus=DataTable("status", dtLocalSheet)
MsgBoxistatus
If istatus = ""Then
Browser("博思档案管理信息系统").Page("博思档案管理信息系统").Sync
'Browser("博思档案管理信息系统").Close
End If
Ifistatus = "test" Then
Msgboxistatus
Browser("博思档案管理信息系统").Page("博思档案管理信息系统").Sync
'Reporter.ReportEvent micFail, "登陆", "登陆失败."
End If
istatus满足条件为什么会进不到第二个IF条件中,有经验者看到此篇日志能给我答复
页:
[1]