CodedUI and RadDropDownList

3 posts, 0 answers
  1. James
    James avatar
    2 posts
    Member since:
    Jun 2012

    Posted 06 Jun 2012 Link to this post

    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. James
    James avatar
    2 posts
    Member since:
    Jun 2012

    Posted 07 Jun 2012 Link to this post

    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?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 08 Jun 2012 Link to this post

    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 >>
Back to Top