Silverlight RichTextBox - Selection/ContentStart/ContentEnd

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Aug 2012

    Posted 22 Aug 2012 Link to this post

    Can I access the Selection, ContentStart, and ContentEnd properties of a System.Windows.Controls.RichTextBox in Silverlight automation? Do I have to write my own FrameworkElement wrapper to do so?
  2. Konstantin Petkov
    Konstantin Petkov avatar
    1911 posts

    Posted 27 Aug 2012 Link to this post

    Hi David,

    Currently it is not possible to retrieve the values of those Silverlight RichTextBox properties. This is because the Silverlight automation extension isn't aware of their types so defaults to the string type (returning the type instead of the value) if you try to access any of those.

    I have submitted two feature requests for being able to access those properties of RichTextBox control here and here. The more requests we get to support those the bigger the chance is those features to be scheduled for development for a future version of the testing framework as well as Telerik Test Studio.

    Please let us know if there is something else we could assist with.

    Kind regards,
    Konstantin Petkov
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top