If a<>"" Then
Browser("MOSTsView").Page("MOSTsView_2").Frame("mainFrame_3").WebButton("编辑").Click
rows=Browser("MOSTsView").Page("MOSTsView_2").Frame("Frame").WebList("selectedList").GetROProperty("items count")
b=rows-1
For i=0 to b
Browser("MOSTsView").Page("MOSTsView_2").Frame("Frame").WebList("selectedList").Select "#"&i
Browser("MOSTsView").Page("MOSTsView_2").Frame("Frame").WebButton("<<").Click
Next
Browser("MOSTsView").Page("MOSTsView_2").Frame("Frame").WebButton("确定").Click
Browser("MOSTsView").Page("MOSTsView_2").Frame("mainFrame_3").WebButton("保存").Click
If Browser("MOSTsView").Page("MOSTsView_2").Frame("mainFrame_4").Check (CheckPoint("mainFrame")) Then
Browser("MOSTsView").CloseAllTabs
End If
End If
报错:Cannot identify the specified item of the selectedList object. Confirm that the specified item is included in the object's item collection.作者: superliming 时间: 2010-1-11 13:42
Browser("MOSTsView").Page("MOSTsView_2").Frame("Frame").WebList("selectedList").Select "#"&i
执行到这句,总是有一个不能选择,怪哉啊