This is a migrated thread and some comments may be shown as answers.
CodedUI and RadDropDownList
2 Answers 30 Views
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 06 Jun 2012, 06:58 PM
I am working on creating automated tests with CodedUI and I am having problems with the RadDropDownList. I can't verify the values that the RadDropDownList is set to. Whenever i try to verify the values CodedUI points to the a generic text box on the page. I am using version 2011.2.11.831. Even if I get a hold of the list the selected string value == null even when a value is selected.

I see that RadDropDownList is supports CodedUI so I wonder if I am doing something wrong or if there is a bug. Any help would be greatly appreciated. 

2 Answers, 1 is accepted

Sort by
0
James
Top achievements
Rank 1
answered on 07 Jun 2012, 11:58 AM
I think I found a solution but I have to remove the style I am using RadDropDownStyle.DropDownList. Is there any way to continue to use a style and get the selected value from the RadDropDownList?
0
Peter
Telerik team
answered on 08 Jun 2012, 07:51 AM
Hi James,

Thank you for writing.

I would like to clarify what we support from Coded UI tests - we support Basic Record and Playback, but we do not support Rich Property Validation and Intent Aware Actions, because we do not provide yet a Coded UI MSAA plug-in for MS Visual Studio that should be developed for this kind of scenario. I am afraid that currently I cannot propose a workaround for this.

For more information, please read these blog posts about Coded UI Test Extension for 3rd party Windows Forms controls:
Blog 1
Blog 2

Do not hesitate to contact us if you have other questions. 

Greetings,
Peter
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Asked by
James
Top achievements
Rank 1
Answers by
James
Top achievements
Rank 1
Peter
Telerik team
Share this question
or