Dim CheckUS
Dim CheckPW
CheckUs=Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set(DataTable("my", dtGlobalSheet) )
CheckPW=Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure(DataTable("we", dtGlobalSheet))
If ( CheckUS = "" )Then
If ( Browser("Welcome: Mercury Tours_2").Dialog("Microsoft Internet Explorer").Exist(1)) Then
Dim a
if ( a = Browser("Welcome: Mercury Tours_2").Dialog("Microsoft Internet Explorer").Static("请输入登录名!").check(checkpoint("请输入登录名!")) = true )then
msgbox "passed"
end if
end if
End if