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

Silverlight RichTextBox - Selection/ContentStart/ContentEnd

1 Answer 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 22 Aug 2012, 07:33 PM
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?

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 27 Aug 2012, 08:07 AM
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
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or