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

Not able to automate actions on ListItems in Filter Properties window of grid.

2 Answers 24 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bhagavan
Top achievements
Rank 1
Bhagavan asked on 11 Jun 2014, 09:35 AM
Hi Team,

We are trying to automate actions on ListItems present in filter properties window of Rad Grid View with VS2012 Coded UI Test Framework but we arenot successfull in it.
Name property on the listitems is used for its idetification but this name seems to be same for all the list items present in the list(i.e. "Telerik.Windows.Controls.GridView.DistinctValueViewModel").

Can you please implement ToString on the listitems to consider CheckBox name[which is present inside the listitem] ?

Regards,
Bhagavan

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 11 Jun 2014, 03:12 PM
Hi Bhagavan,

Actually, this is the expected behavior since we do not control automation ids of the ListBox and it uses the DataContext of each item for the Name property. Nevertheless,we will modify that based on your requirements and the Name of each item will be the value next to the CheckBox. The change will be available in the next internal build. 


Regards,
Maya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Bhagavan
Top achievements
Rank 1
answered on 12 Jun 2014, 04:53 AM
Hi Maya,

Thanks for the quick replay.
Please let us know when internal build is available.

Regards,
Bhagavan.
Tags
GridView
Asked by
Bhagavan
Top achievements
Rank 1
Answers by
Maya
Telerik team
Bhagavan
Top achievements
Rank 1
Share this question
or