How can I track RadButton with Ranorex.

2 posts, 0 answers
  1. Pawel
    Pawel avatar
    4 posts
    Member since:
    Nov 2017

    Posted 05 Jun 2018 Link to this post

    Hi all,

    we have a problem with tracking buttons in our application after changing library (Nevron to Telerik).

    Previously we did use NButton (Nevron) in our WinForms application but now we are using RadButton (Telerik).

    We had:
    public partial class XButton : NButton

    after the change, we have:
    public partial class XButton : RadButton

    That was only changed in our code.

    For automatically tests we are using Ranorex 8. After this change, we can not use this same test which we created before.

    Is any solution how we do not need to change all Ranorex tests?


    before in Ranorex was: "button[@controlname='NextButton']"

    after: "container[@controlname='NextButton']

    Please see attachments:

    Thank you for any solution.



  2. Ralitsa
    Ralitsa avatar
    190 posts

    Posted 08 Jun 2018 Link to this post

    Hello Pawel,

    I am glad to hear that you choose Telerik UI for WinForms suite for your project. In regards to your question, I have performed a sample test and you can access RadButton using an accessible name in Ranorex (please see attached image): 

    We have not tested Telerik UI for Winforms with Ranorex thus we cannot guarantee full compatibility. However, our controls support Microsoft Active Accessibility (MSAA), so you could find useful the following article from Ranorex`s documentation: Enabling automation for 3rd party controls by adding Accessibility

    I hope this information helps. Should you have further questions I would be glad to help.

    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top