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

"RadGridView RowDetails" and "RadDateTimePicker"controls

1 Answer 87 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Harleen
Top achievements
Rank 1
Harleen asked on 02 Dec 2010, 01:56 AM

Hi,

I am trying to automate the controls in subject. The site below tells me UI automation for these controls are not supported for wpf applications. Is there an update/recommended solution regarding the same that I can leverage for my UI automation? It may save me a lot of time :)!

http://www.telerik.com/help/silverlight/ui_automation_support.html

 


More information on my work around and where I am stuck:

  1. DateTimePicker control

Please see attached image for reference. Using UI Spy I can actually see the window and  all of its content for the “date” control. The automation ids are missing, but at least I see the “window” control exposed and the ‘text’ names that I can actually use in my helper function to get/set a specified date.

However, the clock portion of it is hidden from UI spy. I don’t know if this is another window control or something that is just embedded in the date window? Any ideas on how I can access the clock window?

 

  1. RowDetails control

This is not exposed at all in UI Spy L! I am thinking of a work around that I have not yet tested but before I invest time in it, I was wondering if you have a recommended solution that I can use?

 


Thank you for your help and time,

Harleen

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 07 Dec 2010, 01:03 PM
Hi Harleen,

The controls that are labeled as not supported in this list doesn't have automation peers at all. You should not detect any of it. You should detect some smaller controls used in the template like Buttons or TextBlocks but this is not related to automation peers that we have written. I am not sure why you don't detect the TextBlocks in the Clock part of the pop-up though. That is strange, but still even if you detect it I don't think that would be enough to automate an application.

We have plans to extend our Automation support in future, but I would suggest you to use our WebUI Test Studio, more info you can find here: http://www.telerik.com/automated-testing-tools.aspx . It is not using the Automation peer classes but the application visual tree.


Regards,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
DateTimePicker
Asked by
Harleen
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or