This is a migrated thread and some comments may be shown as answers.

DataPager Control - Child control names

1 Answer 66 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Prav
Top achievements
Rank 1
Prav asked on 04 Nov 2014, 07:07 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 07 Nov 2014, 11:30 AM
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.

 
Tags
DataPager
Asked by
Prav
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or