12-24-2013, 06:01 PM
Hi,
Not sure if you want to add complete data of webtable in dictionary object. If so, then refer to the below code:
might be some syntax issue but I think u can refer to the logic if required.
Regards,
Sankalp
Not sure if you want to add complete data of webtable in dictionary object. If so, then refer to the below code:
Code:
Set dictobj=createobject("Scripting.Dictionary")
Set T=Browser("title:=Google").page("title:=Google").webtable("name:=Google")
row=T.rowcount
col=T.columncount()
For icol=1 to col
For irow=1 to row
Text=Browser().page().webtable().getCell data(irow,icol)
dictobj.Add "CellData(irow,icol),"text"
Next
Next
might be some syntax issue but I think u can refer to the logic if required.
Regards,
Sankalp