Hi,
When I was trying to read cell data from grid view by using Getcelldata method , am not getting exact value and when I use the object.activecell.text some times it's working fine and some times it's throwing error as object required .it's halting the execution.
can u please provide the solution to read the cell data excluding above methods.
Thanks,
Srini
Hello Srini,
I have been looking into this forum thread and the if the cell is being in an edit mode, than the GetCellData value might differ from the actual text in the cell. If the cell is not in Edit mode than using a similar code will work for you:
someVar = SwfWindow("YourWindow").SwfTable("YourGrid").GetCellData(0,3)Where 0 and 3 are corresponding row and column indexes. Also if you need to get the visible text, then you could use the mentioned approach of getting the text from the active cell.If you have any other questions please feel free to let us know.