51Testing软件测试论坛
标题:
robot 无法执行脚本
[打印本页]
作者:
八边玲珑
时间:
2007-12-14 11:16
标题:
robot 无法执行脚本
录制下面的简单登录脚本,回放时robot不能自动找到文本框输入,日志直接显示PASS
浏览器是IE7 是否是两者不兼容 还是其他原因造成
大家帮忙看看
Sub Main
Dim Result As Integer
'Initially Recorded: 2007-12-14 10: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
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2