Hello,
I have a testing suite that has worked for the last year, without issue because Watir is fanastic! But we recently converted
to VS 2005 and Infragistics 7.2 and testing sadness followed.
I am trying to select a row using cell text, I have no issues when the grid is an HTML grid - see testing code below:
@t=ie.table(:id, "ctl00uwmMainMenu_9")
@c = DataGridHelper.getTableRowFromCellText(@t, "Reports")
@c.fireEvent("onMouseDown")
@c.fireEvent("onMouseUp")
However, when the grid is an infragistics, version 7.2 grid I can't click the row:
@table=ie.table(:id, 'G_dgReports')
@row = DataGridHelper.getTableRowFromCellText(@table, 'Annualized Buyer Purchase Volume')
@row.fireEvent('onMouseDown')
@row.fireEvent('onMouseUp')
I can return the row ID (puts @row.id - returns the correct id) - but can't get and click the row. I also can't click
on the row using the ID directly (e.g. ie.row(:id, 'rowid').click). This worked before the Infragistics version change.
Please help
Thanks,
Em |