|
Set oBrowser = Browser("version:=inter.*")
oBrowser.navigate "http://www.google.com"
Set oWebEdit = oBrowser.WebEdit("name:=q", "index:=0″)
oWebEdit.Set "software inquisition"
oWebEdit.submit 'Page reloads
oBrowser.sync
'This "resyncs" oWebEdit:
oWebEdit.init
'Now the next line will work
oWebEdit.Set "wally llama"
这段脚本运行到第三句的时候报“The test run cannot continue due to a syntax error.
未结束的字符串常量
Line (3): "Set oWebEdit = oBrowser.WebEdit("name:=q", "index:=0″)".
这时什么意思,这行脚本有错误?正确的应该怎么写呢,谢谢 |
|