Can you write script for retrieve data from webtable to datatable?
Are you looking for copying any cell value to DataTable? Or the entire webtable contents?
A n i s h [My QTP Blog]
entire webtable as it is to datatable
What do u mean by webtable to datatable. Does your datatable have identical column headers as the webtables.
U need to navigate to each cell, get the header value and the cell value. Compare the header value with that of datatable and insert the value in the datatable.
U need increment row value of the datatable, when u move to the nextrow in the webtable.
Winds of Change
One way u could do is instead of writing cell by cell, retrieve the values of the webtable in an array and then insert the array value into the datatable. This might reduce the number of calls