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

KendoListView.ItemCount crashes

3 Answers 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 01 Jun 2017, 04:22 AM

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()

3 Answers, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 05 Jun 2017, 11:40 AM
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!
0
Ivan
Top achievements
Rank 1
answered on 06 Jun 2017, 04:12 AM

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.

0
Nikolay Petrov
Telerik team
answered on 08 Jun 2017, 11:39 AM
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!
Tags
General Discussions
Asked by
Ivan
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Ivan
Top achievements
Rank 1
Share this question
or