Code: Select all
Table 'objTable'
+-Row 'ColumnHeadersPresenter'
+-Element 'RowsPreseneter'
+-Element 'Row1'
+-Element 'Col1'
+-Text
+-Element 'Col2'
+-Text
+-Element 'Row2'
+-Element 'Col1'
+-Text
+-Element 'Col2'
+-Text
Code: Select all
Ranorex.Text cell;
rows[1].TryFindSingle("./element[2]/text", out cell);
cell.TextValue = "test"
Code: Select all
cell.Click()
On the other hand, If I click the cell manually and then run the above code, the cell value is set properly. So why the cell is not clicked as expected?