Programatically Filter RadGridView

2 posts, 0 answers
  1. Aaron
    Aaron avatar
    5 posts
    Member since:
    Apr 2016

    Posted 03 May Link to this post

    Using this following RadGridView 'Telerik.WebAii.Controls.Xaml.Wpf.RadGridView', what would be the most reliable way to set a filter on this GridView?

    I've tried clicking the filter button on the column I would like to filter, but the XAML Path keeps changing, so it doesn't click the right column all the time...and I can't seem to find the proper way to do this in code.

     

    Any help would be appreciated.

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    254 posts

    Posted 06 May Link to this post

    Hello Aaron,

    Thank you for contacting us. 

    A most reliable way to automate your test depends on how your application is built. Since the XAML path is dynamic is there any other attribute you could use finding the element? Please send a screenshot of the DOM tree including that element you need to click. 

    Looking forward to hearing from you. 

    Regards,
    Elena Tsvetkova
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top