.aspx page using Telerik controls

4 posts, 0 answers
  1. Vamsidhar Venkata
    Vamsidhar Venkata avatar
    2 posts
    Member since:
    Mar 2014

    Posted 20 Mar 2014 Link to this post

    Hi,

    I am trying to automate a .aspx page which is using Telerik controls. Few controls in this page are not being identified by Visual studio test manager. So I have been suggested to install Telerik testing framework. Now that I installed the framework, for starters like me, can you please let me know how this is used to build automated tests. How can we use this to identify the Telerik controls on .aspx page.

    Please see attached screenshots showing button and dropdown are not identified as themselves. They are being recognized as something else by VS test manager. Can this framework be helpful to identify such objects and work on them?

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 25 Mar 2014 Link to this post

    Hello Vamsidhar,

    Thank you for contacting us.

    Here is an article which describes how to start with the framework. This is another article which explains the find expressions in Telerik Framework.

    Please check it out and let us know if you need further help.

    You can send us a screen shot of the DOM with that drop down. What type of the control is it (i.e. RadDropDown)?

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Vamsidhar Venkata
    Vamsidhar Venkata avatar
    2 posts
    Member since:
    Mar 2014

    Posted 25 Mar 2014 in reply to Boyan Boev Link to this post

    Thank you for your reply.
    I already visited above links but couldn't get much use of it. I have references of Art of Test dll's in my VS file.
    Can you please give more information on how to use this dll's.

    Please find attach screenshot of the dropdown control.
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 28 Mar 2014 Link to this post

    Hi Vamsidhar,

    Here is an example how to find the div with a specific ID and then the particular input in that div:

    HtmlDiv div = ActiveBrowser.Find.ById<HtmlDiv>("MainContent_important....");
    HtmlInputControl input = div.Find.ByName<HtmlInputControl>("ct100$MainContent....");
    input.MouseClick();

    This will work if the the ID and the Name are not dynamically generated.

    Hope this helps.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top