|
5#
楼主 |
发表于 2009-5-25 17:17:38
|
只看该作者
双击表格对象!
crow=Browser("Browser").Page("IClinic System main page").Frame("Frame_59").WebTable("TABLELIST").RowCount
For i=2 to crow
For k=2 to 7
getcol=Browser("Browser").Page("IClinic System main page").Frame("Frame_59").WebTable("TABLELIST").GetCellData(i,k)
getcol= split(getcol,",")
getcol1=cstr(getcol(0))
If getcol1=" LEE" Then
Browser("Browser").Page("IClinic System main page").Frame("Frame_59").WebTable("TABLELIST").ChildItem(i,k,"WebElement",0).FireEvent "ondbclick"
i=crow+1
Exit for
End If
Next
Next
为什么这里的双击还是单击,但是没有报错! |
|