Completed
Last Updated: 12 Feb 2014 15:50 by ADMIN
ADMIN
Stoich
Created on: 07 Jan 2014 14:47
Type: Bug Report
0
DropDown selection throws error when invoking change event
Test Studio throws an error when attempting to trigger the change event for an HTML select control. The problem is avoided if you uncheck TriggerjQueryEvent for the step. 

Steps to repro: run attached test *customer application - DO NOT PUBLISH please

Error message: InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
OnSelectedInsuranceValueListChange is not defined
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'$(document.getElementsByTagName('select')[9]).change();',ClientId:'ce402ef4-64f7-4eb3-bba7-ef3a1e5c1862',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'OnSelectedInsuranceValueListChange is not defined')
InnerException: none.
1 comment
ADMIN
Daniel Djambov
Posted on: 07 Feb 2014 09:25
Telerik: Unfortunately this is not in our control - the problem is that the failing step 26 from the sample test project which is failing has its property 'TriggerjQuerryEvent' set to 'true' and the web application does not allow that. Sending this request from browser (no Test Studio involved) through javascript command will throw the same error. If you set this property 'TriggerjQuerryEvent' to 'false' on step 26 the step will pass. Attached is screenshot for the property to change.