robot 无法执行脚本
录制下面的简单登录脚本,回放时robot不能自动找到文本框输入,日志直接显示PASS浏览器是IE7 是否是两者不兼容 还是其他原因造成
大家帮忙看看
Sub Main
Dim Result As Integer
'Initially Recorded: 2007-12-1410:42:20
'Script Name: asdf
Window SetContext, "Caption=login - Windows Internet Explorer", ""
Browser NewPage,"HTMLTitle=login;Index=0",""
EditBox Click, "Name=username", "Coords=19,12"
InputKeys "yue.sun"
HTMLImage Click, "Name=loginbutton", "Coords=18,13"
End Sub
页:
[1]