qunit test case to test kendow window

3 posts, 0 answers
  1. Mohnish
    Mohnish avatar
    9 posts
    Member since:
    Mar 2016

    Posted 04 Aug 2016 Link to this post



    I have a function which opens kendowindow. I am writing a qunit test case to test that particular function whether the particular function is working or not. Please help me with below snippet, where am i going wrong.

    Function: addNew: function (e) {


    Test case:

    QUnit.test("address", function (assert) {
            var wnd = $("[data-Address]").data("kendoWindow");
           var test= wnd.element.is(":hidden"); 
            assert.equal($("test", false, "address");


    plz help me where am I gng wrong.


    Thanks in advance.

  2. Alex Hajigeorgieva
    Alex Hajigeorgieva avatar
    1009 posts

    Posted 09 Aug 2016 Link to this post

    Hello Mohnish,

    The Kendo UI Window is tested with QUnit and the tests are publicly available in our open source repository at:


    A Kendo UI Window close() method test which is similar to the required in your scenario is available in the API testing section at:


    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
  3. Mohnish
    Mohnish avatar
    9 posts
    Member since:
    Mar 2016

    Posted 09 Aug 2016 in reply to Alex Hajigeorgieva Link to this post

    Thank you Alex. I will be using this to perform my unit tests.
Back to Top