Automated UI Testing with Kendo

2 posts, 0 answers
  1. Harrison
    Harrison avatar
    4 posts
    Member since:
    Nov 2016

    Posted 04 Nov Link to this post

    I've been attempting to write/run some automated UI tests using cucumber.io and selenium on our app that is using kendo UI.  So far its been a struggle.  I've run into a lot of issues where elements "don't exist" on the page until they've been clicked, or they just don't exist in a state where cucumber can interact with them.  

    Has anyone else done any sort of UI testing and/or had issues with this kind of behavior?

     

    Thanks,

    Harrison

  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    115 posts

    Posted 07 Nov Link to this post

    Hello Harrison,

    I have already responded to the same private support ticket, however,  I will post my response here as well in case anyone else is on the lookout for automated testing of Kendo UI Widgets.

    We use QUnit to test our widgets and I would recommend checking it out if you are not constrained by using Cucumber:

    http://qunitjs.com/

    You are correct in your observation that  occasionally the tested Kendo UI Widget is not yet available or no longer exists -  one such widget may be the Kendo UI Window (e.g. on its own or in a Kendo UI popup editable Grid or Scheduler). The tested window may be missing as it is destroyed when closed to avoid memory leaks. Kendo UI Window tests are available at:

    https://github.com/telerik/kendo-ui-core/tree/master/tests/window

    Finally, all open source widgets tests in our repository are available for your reference at:

    https://github.com/telerik/kendo-ui-core/tree/master/tests

    Kind Regards,
    Alex Hajigeorgieva
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top