谢谢楼上。问题解决了。是格式写错了。正确的代码是:
With Browser("title:=Welcome: Mercury Tours").Page("title:=Welcome: Mercury Tours")
.WebEdit("name:=userName").Set "admin"
.WebEdit("name:=password").SetSecure "574e81e6257474cf74a2f1ad3ab764e1a36b8631"
.Image("name:=login").Click 22,14
End With
谢谢楼上。问题解决了。是格式写错了。正确的代码是:
With Browser("title:=Welcome: Mercury Tours").Page("title:=Welcome: Mercury Tours")
.WebEdit("name:=userName").Set "admin"
.WebEdit("name:=password").SetSecure "574e81e6257474cf74a2f1ad3ab764e1a36b8631"
.Image("name:=login").Click 22,14
End With