UIAutomation

7 posts, 0 answers
  1. Markus
    Markus avatar
    4 posts
    Member since:
    Jun 2010

    Posted 23 Jan 2012 Link to this post

    Hello,

    we want to use the RichTextBox together with speech recognition software through UIAutomation. However, the RichTextBox does not expose a consolidated UIAutomation interface to the text content.
    What is the supported way to use the RichTextBox with UIAutomation?
    e.g. get all the text content, change selection, insert/delete selection.

    Best regards,
    Markus
  2. Boby
    Admin
    Boby avatar
    685 posts

    Posted 26 Jan 2012 Link to this post

    Hi Markus,
    Unfortunately RadRichTextBox doesn't support UI automation for now. This feature is in our to-do list, but currently it's not scheduled for implementation.

    Please, excuse us for the inconvenience. Don't hesitate to contact us if you have other questions.

    Greetings,
    Boby
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Markus
    Markus avatar
    4 posts
    Member since:
    Jun 2010

    Posted 26 Jan 2012 Link to this post

    Hello,

    is Telerik aware of any workarounds to cope with that situation? If not, what are our possibilities to get the feature scheduled?

    Best regards,
    Markus
  4. Boby
    Admin
    Boby avatar
    685 posts

    Posted 31 Jan 2012 Link to this post

    Hello Markus,

    You can try to create automation wrapper of control deriving RadRichTextBox by yourself (as described here). This, however, is not a trivial task and we are not sure if implementing it would be possible without some internal changes.
    Q1 will be released in a couple of weeks, and the schedule for Q2 is already filled up with important features requested by numerous customers. We will try to squeeze the UI automation for Q2, but at this time we are not sure if this would be possible, so the implementation of the feature could be scheduled for later release.

    Don't hesitate to contact us if you have other questions.

    Regards,
    Boby
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Markus
    Markus avatar
    4 posts
    Member since:
    Jun 2010

    Posted 31 Jan 2012 Link to this post

    Hello,
    today I tried to implement my own UIAutomation TextProvider. However, it turned out that Silverlight does not support this. Internal code in the AutomationPeer class expects the internal class TextRangeProvider and fails with a class cast exception when a custom ITextRangeProvider is used. From my perspective this means that even you would not be able to implement a TextProvider for the RadRichTextBox.

    Do you have any experience or advice or contacts to Microsoft to get help with this problem?

    Thanks,
    Markus

  6. Boby
    Admin
    Boby avatar
    685 posts

    Posted 03 Feb 2012 Link to this post

    Hi Markus,
    Unfortunately we have not investigated the problem in such details. You can report the issue directly to Microsoft at Microsoft Connect, and also send us (through a support ticket) sample project that reproduces it, so we can investigate it further.
    Thank you for your cooperation.

    Greetings,
    Boby
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Markus
    Markus avatar
    4 posts
    Member since:
    Jun 2010

    Posted 03 Feb 2012 Link to this post

    Hello,

    I'm already in contact with Microsoft and will let you know about any results.

    Markus
Back to Top