Completed
Last Updated: 24 Apr 2015 07:40 by ADMIN
ADMIN
Boyan Boev
Created on: 23 Mar 2015 11:47
Type: Feature Request
1
SelectByPartialValue doesn't work if the value contains "&;"
If you have html like this:

<select class="records_per_page" onchange="location.href = $(this).val();"><option value="https://website.com/Admin/POIs?Page=1&;PageSize=10">10</option></select>

and try to select the row with 

select1.SelectByPartialValue("10", true);

Test studio doesn't select the option and fails with:

InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
$ is not defined
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'$(document.getElementsByTagName('select')[0]).change();',ClientId:'e3c28a81-766f-4a9f-8959-8ef1f06f7e79',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'$ is not defined')
InnerException: none.

If you remove the "&;" from the value it selects the option but the step fails as well.

1 comment
ADMIN
Daniel Djambov
Posted on: 24 Apr 2015 07:40
Telerik: the issue is fixed and solution will be available in our next internal product release, planned to be out early May 2015.