Powered by: Dharamveer Saxena

Monday, November 2, 2009

TestComplete : To get cell value using Row number and Column ID


'To get the cell Value based on Grid, row number and column ID
'working in Infragistics grid as well
' Grid is grid object in which you need value for rowIndex row and ColumnId column
' You can pass either ID (string) or Index (int) of the column for ColumnId parameter

Function GetCellValue (Grid, RowIndex, ColumnId)
GetCellValue = Grid.wValue(rowindex,columnID)
end Function

No comments:

Post a Comment