Tool is recognizing the grid and all the contents , but it doesn’t reads the linkbutton in the grid.
For example I have test data grid with following columns :
Name,Email and Designation.
In the above column Name and Email are text but Designation is the linkbutton.When i read the values from the grid tool reads Name and EMail but it doesn't reads the Designation.
I have used the following code to read the values from the grid.
foreach (HtmlTableRow r in Pages.Http172160.DgTestDataTable.AllRows)
{
foreach (HtmlTableCell c in r.Cells)
{
Log.WriteLine("Identifying Grid Items:"+c.TextContent);
}
}
Please refer the attached Sample Code used.
For example I have test data grid with following columns :
Name,Email and Designation.
In the above column Name and Email are text but Designation is the linkbutton.When i read the values from the grid tool reads Name and EMail but it doesn't reads the Designation.
I have used the following code to read the values from the grid.
foreach (HtmlTableRow r in Pages.Http172160.DgTestDataTable.AllRows)
{
foreach (HtmlTableCell c in r.Cells)
{
Log.WriteLine("Identifying Grid Items:"+c.TextContent);
}
}
Please refer the attached Sample Code used.