如何定位broswer ??
今天刚刚安装了robot,就尝试使用GUI脚本,下面是录制的脚本:Sub Main
Dim Result As Integer
'Initially Recorded: 2008-2-2015:49:00
'Script Name: 111
Window SetContext, "Class=Shell_TrayWnd", ""
Toolbar Click, "Text=Quick Launch;\;ItemText=启动 Internet Explorer 浏览器", "Coords=13,16"
Window SetContext, "Caption=空白页 - Microsoft Internet Explorer", ""
InputKeys "www.baidu.com{ENTER}"
Browser NewPage,"HTMLTitle=百度一下,你就知道;Index=0",""
HTMLLink Click, "HTMLText=新 闻;VisualText=新 闻", ""
End Sub
但是回放的时候总是失败,请问为什么啊 ?:( 在哪一行失败的???
页:
[1]