Hi,
I am working with a swftreeview and i am trying to obtain the cellvalue from the tree. Here is how i am doing it,
Set tree=Browser().page().frame().swfobject().swftreeview()
'obtain the column key
cellkey1=tree.object.ColumnSettings.ColumnSets.Item(0).Columns.Item(3).Key
'Obtain the nodes
allitems=Split(tree.GetContent,VBLF)
'obtain the count
ccount=tree.GetItemsCount
' loop through to obtain the cellvalue
For i=0 to ccount-1
celval=tree.GetCellData(allitems(i), cellkey1)
Next
It throws a error stating "No node with specified text property". I am unsure how else could we pass the parameters ?? Can anyone help me out with this please.
At first glance this seems to be correct. My thought would be debug the error, it should stop with a dialog box and one of the options would be Debug. Click it and in the Debug window, find out what the value of the current item is. My guess is you have an extra value that is an empty string ("") and that one fails because it can't find it. Just put a test in to ignore that case.
Hope this helps,