Completed
Last Updated: 15 Jun 2015 08:29 by ADMIN
ADMIN
Boyan Boev
Created on: 08 Jun 2015 12:38
Type: Bug Report
0
System.InvalidOperationException when ClearBeforeTyping is checked for KendoInputValue
If the ClearBeforeTyping property for KendoInputValue step is checked Test Studio throws the following exception:

ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [$(\"input:eq(1)\").data(\"kendoNumericTextBox\").value(\'\');] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Unable to get property 'value' of undefined or null reference 
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   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:'$(\"input:eq(1)\").data(\"kendoNumericTextBox\").value(\'\');',ClientId:'Client_6b1a1b66-fd21-44f7-8068-f660b020ecea',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.InvalidOperationException: Javascript call [$(\"input:eq(1)\").data(\"kendoNumericTextBox\").value(\'\');] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Unable to get property 'value' of undefined or null reference 
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

Steps to reproduce:

1. Download and execute the attached test.

Actual: The test fails with the above exception.

Expected: Type into the Kendo numeric box.
Attached Files:
1 comment
ADMIN
Pavel
Posted on: 15 Jun 2015 08:29
The issue has been resolved and the fix will be available in the next internal build of the product.