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

    Hi,

    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.

    Regards,
    Prav
  2. Maya
    Admin
    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 ?


    Regards,
    Maya
    Telerik
     

    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. UI for WPF is Visual Studio 2017 Ready
Back to Top