DataPager Control Names

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

    Posted 05 Nov 2014 Link to this post


    We are writing some automation test scripts for WPF application where we are using a data pager control. Have got a requirement to find out the child control names in the data pager control like nextpage, lastpage, previouspage, firstpage and pagesize etc. Is there anyway to find out these control names ?

    Thanks in advance.

  2. Maya
    Maya avatar
    4062 posts

    Posted 07 Nov 2014 Link to this post

    Hi Prav,

    Generally, you can get the name of each element through GetName method - AutomationProperties.GetName(myElement). Take a look at this article for a reference. Is that what you are looking for ?


    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top