This project is read-only.

Why the Table's Rows is Null??

Aug 17, 2009 at 3:21 PM

I am new to this framework,I want to access a DataGridView by this Code

SearchCriteria searchCriteria = SearchCriteria.ByAutomationId(this.tabID);
tab = window.Get<Table>(searchCriteria);

I can get the table, but the tab.Rows always is null,

tab.Rows[0].Select(); throw a Exception 

How solve this problem?

Aug 18, 2009 at 5:59 PM

have a look here Other questions

if it still doesn't help can you send the output for table.LogStructure()

Aug 19, 2009 at 12:34 PM

Thank you for your reply.

I find my  problem is same as the Discussion(

I find two machine to run my code,one machine can get rows but other machine can't get details of Table.

The windows version of the two machine is same and the version of UIAutomationClient is


Sep 4, 2009 at 3:51 AM