我在点击网络表格中的链接时收到了一个未指明的错误 . 我知道当索引值,行,列值为inccore时弹出这个错误 . 在这种情况下,我确信所有的任务字段都是正确的 . 我不知道错误发生的原因 . 我只能点击第2行,1列,索引“0”链接而不再进一步 . 任何帮助,将不胜感激 .
Set MyBrw=browser("title:=.*").page("title:=.*")
If browser("creationtime:=1").Exist Then
set ProdtTBL=browser("creationtime:=1").page("name:=.*").webtable("column names:=;Product Name;Part Number;Unit Price;Action","cols:=5")
ProdtTBL.ChildItem(2,2,"link",0).click
MyBrw.webedit("name:=qty1","html tag:=input").Set "1"
MyBrw.webbutton("name:=Add Product","html tag:=input").Click
MyBrw.image("html tag:=IMG","title:=Products","index:=1").click
browser("creationtime:=1").Sync
ProdtTBL.ChildItem(6,2,"link",5).highlight
MyBrw.webedit("name:=qty2","html tag:=input").Set "10"
End If