Identify rows and columns within WPF table
Posted: Fri Nov 18, 2011 12:33 pm
Hi,
I've got a problem with identifying the rows and columns within a WPF table.
Attached you find a Ranorex-Snapshot of the element (/form[@name='Select Comm DTM to add.']/element/table[@automationid='list']).
1.) Within this table, there is a header row named Row'-1'. Within this row, it is not possible to identify which columnheader belongs to which columnindex. I need this information for checking all elements in the devicetype row.
2.) The content of the table could be changed. I have to check if all expected elements are listed within this table. The rows are identified via following ranorex-path:
/form[@name='Select Comm DTM to add.']/element/table/row[2] --> first row in the table
In the objectrepository it is not possible to replace the '2' within the row with a variable. --> How can I address the rows?
Thank you very much...
Best regards
Anja
I've got a problem with identifying the rows and columns within a WPF table.
Attached you find a Ranorex-Snapshot of the element (/form[@name='Select Comm DTM to add.']/element/table[@automationid='list']).
1.) Within this table, there is a header row named Row'-1'. Within this row, it is not possible to identify which columnheader belongs to which columnindex. I need this information for checking all elements in the devicetype row.
2.) The content of the table could be changed. I have to check if all expected elements are listed within this table. The rows are identified via following ranorex-path:
/form[@name='Select Comm DTM to add.']/element/table/row[2] --> first row in the table
In the objectrepository it is not possible to replace the '2' within the row with a variable. --> How can I address the rows?
Thank you very much...
Best regards
Anja