Menu ▾ ▴

#50 Can DataGridTester handle large result set?

open
nobody
None
5
2006-06-13
2006-06-13
CA_John
No

I am trying to test the row count of a DataGridTester
that returns over 7000 rows. My code basically looks
like this:

ButtonTester ButtonSearch = new ButtonTester
("searchButton", CurrentWebForm);
ButtonSearch.Click();
DataGridTester resultGrid = new DataGridTester
("resultGrid", CurrentWebForm);
int rowCount = resultGrid.RowCount;

When I'm in the debugger and reach the last line of
this code, the application slows to a grinding halt.
Is this an issue and is there a solution or
workaround? Thanks.

John

Discussion


Log in to post a comment.