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

    Hi, 
    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.

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


    Regards,
    Dimitrina
    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