Support Requests: Browse | Submit New | Admin

[#14814] Row selecting in Infragistics grid

Date:
2007-10-17 18:22
Priority:
3
Submitted By:
Emily R (auntiem5623)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Row selecting in Infragistics grid

Detailed description
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 

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item