DataPager Control - Child control names

2 posts, 0 answers
  1. Prav
    Prav avatar
    2 posts
    Member since:
    Nov 2014

    Posted 04 Nov 2014 Link to this post

    I am writing some automation test cases where I need to find all child control names in datapager control like nextpage, lastpage, previouspage, firstpage and pagesize etc in WPF application.

    Wondering whether it is possible and what the easy method is to get the names of all above controls.

    Thanks in advance.

  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 07 Nov 2014 Link to this post

    Hello Prav,

    You can get the name of each element through GetName method - AutomationProperties.GetName(myElement). You can also take a look at this article for a reference. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top