The datagrid is a normal VB.NET datagrid control. When I record against the grid, it only record x,y coordinators position, now column/rows.
Window SetContext, "Type=Form;Name=Form1;VisualText=Form1", ""
DataGrid Click, "Type=DataGrid;Name=grdData", "Coords=146,100"
And I tried to use a command like below and it failed.
DataGrid MakeSelection, "Type=DataGrid;Name=grdData", "Col=1"
I tried another command to see whether it could get the number of columns, it only give me 0
Result = SQAGetProperty ("Type=DataGrid;Name=grdData", "Cols", number)
SQALogMessage sqaPass, "Columns: " & number, ""
So any idea why my datagrid cannot be recognized as col/row?