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

Automated UI Testing with Kendo

1 Answer 158 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Harrison
Top achievements
Rank 1
Harrison asked on 04 Nov 2016, 03:34 PM

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

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 07 Nov 2016, 09:55 AM
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, UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
General Discussions
Asked by
Harrison
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or