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

DataPager Control Names

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

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 07 Nov 2014, 08:42 AM
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.

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