Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
No AutomationPeer for Column Header
posted

Hi,

I am doing acceptance testing from using white and silverlight unit testing framework and I have no way of selecting the column headers (from another process) via an AutomationPeer for column header row.

I have a checkbox in my column header to select all checkboxes in that column and I have no way of unit/integration/acceptance test this functionality.

Is there a way of doing this for the column headers that I am missing?  I presume that the infragistics team are automating column sorting (via clicking) and column moving (via mouse drag) testing of this control and I am interested in how they simulate this.  Are they doing Win32 Post/SendMessage ?

Thanks

  • 4666
    posted

    Hi shwaindog!

    For the moment you could get ColumnHeaders like a pane where you have expandable rows.

    GetChildrenCore override shows only visible cells. That is the reason for the moment to be not possible to simulate click on the column header.

     

     We could add this functionality for the next release.

    Thanks!

    Mihail