If Browser("系统登录").Page("系统登录").WebElement("系统消息").Exist(1) Then
Browser("系统登录").Page("系统登录").WebElement("OK").Click
Reporter.ReportEvent micFail,"登录失败","用户名或密码为空or用户名或密码错误"
elseif Browser("系统登录").Page("xxx系统").Exist(1) Then
Reporter.ReportEvent micPass,"登录成功","登录成功" else
Reporter.ReportEvent micFail,"登录失败","系统存在BUG"
End If
DataTable.GetSheet("Action1").SetNextRow
Loop Until False