#1 Using
setcelldata(row,Col,"Data") # 2 For WebTable object, you can retreive the cell data but can't set any value directly.
1) To retreive data. 2) To set the value.
If you want to set any value on cell, you can do it on its child objects. So make sure what is the child object of that cell i.e. either WebEdit or WebCheckBox or WebRadioButton etc... Using the method, you can set the value to that child object. Using ChildItem method, you can fetch the child object of the cell. or Set ChildObj = Browser().Page().WebTable().ChildItem (row,col,ChildObjClassname,index of the child object) E.g. If the cell has more than multiple similar child objects, you need to take care of the object index. |
|