KendoListView.ItemCount crashes

4 posts, 0 answers
  1. Ivan
    Ivan avatar
    21 posts
    Member since:
    Jul 2016

    Posted 31 May 2017 Link to this post

    Hello,

    after updating kendoUI on our site from 2016_Q2 to 2017_R2 test studio step fails with error

     

    Exception thrown executing coded step: 'Wait for GroupManagePermissionsADListview: ListView items count (current page) 'GreaterThan' '0''.
    InnerException:
    ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
    InError set by the client. Client Error:
    System.InvalidOperationException: Javascript call [$(\"div:eq(129)\").data(\"kendoListView\").element.children().size()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn't support property or method 'size'
       at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJson, IHTMLDocument2 doc)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
    BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'$(\"div:eq(129)\").data(\"kendoListView\").element.children().size()',ClientId:'Client_fd914ec4-11d1-4eae-8a62-9584f40808c1',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.InvalidOperationException: Javascript call [$(\"div:eq(129)\").data(\"kendoListView\").element.children().size()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn't support property or method 'size'
       at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJson, IHTMLDocument2 doc)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
    InnerException: none.

       at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
       at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
       at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.InvokeScript(String script)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.GetValue[T](String propertyName, T defaultValue)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.GetValue[T](String propertyName)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.CallMethod[T](String methodCall)
       at Telerik.TestingFramework.Controls.KendoUI.KendoListView.get_ItemsCount()

  2. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 05 Jun 2017 Link to this post

    Hi Ivan,

    Which version of Test Studio, Chrome and Chrome extensions do you use? 

    Is it possible to reproduce the problem with the latest version of the product? Do you have any sample test case that reproduces the problem on the public demo Kendo UI app?

    Kind Regards,
    Nikolay Petrov
    Progress Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Ivan
    Ivan avatar
    21 posts
    Member since:
    Jul 2016

    Posted 05 Jun 2017 in reply to Nikolay Petrov Link to this post

    Hi Nikolay,

    I use TestStudio 2017.2.530.0. It is the last version.

    I don't use Chrome. I use IE 11.0.9600.1866

    No, don't have the public demo.

  4. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 08 Jun 2017 Link to this post

    Hi Ivan,

    Thank you for the additional information provided.

    To be able to investigate further, please provide a sample app and the test script that could reproduce the problem. If possible use http://dojo.telerik.com to reproduce your Kendo UI control implementation.

    Thank you in advance for your cooperation.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top