Completed
Last Updated: 04 Apr 2013 07:38 by ADMIN
Charlene
Created on: 18 Mar 2013 22:41
Type: Bug Report
0
Conversion of " (double quotes) in Chrome
Hi, 

I have a line in my script (see below) that is passed when I run tests in IE but the step failed in Chrome.

Verify 'InnerMarkup' 'Contains' '<li class="enquiryfiltersfilteritem" data-t1-control='{"FilterCode":"UNKNOWN","FilterText":"Unknown Supplier","FilterItemTotal":0}' data-t1-filtercode="UNKNOWN"><span class="filteritemtotal">(2)</span><input class="selectFilterCode" type="checkbox" data-t1-control="UNKNOWN"><label>Unknown Supplier</label></li>' on 'RelatedDataPortlet'

It failed in Chrome of 'Content does not match'. I viewed the log and see the value at time of failure is 

<li class="enquiryfiltersfilteritem" data-t1-filtercode="UNKNOWN" data-t1-control="{&quot;FilterCode&quot;:&quot;UNKNOWN&quot;,&quot;FilterText&quot;:&quot;Unknown Supplier&quot;,&quot;FilterItemTotal&quot;:0}"><span class="filteritemtotal">(2)</span><input type="checkbox" class="selectFilterCode" data-t1-control="UNKNOWN"><label>Unknown Supplier</label></li>

Noticed that the conversion of " in Chrome. It converted it a &quot.

May I know what is the solution for this? Thank You.


1 comment
ADMIN
Konstantin Petkov
Posted on: 19 Mar 2013 07:33
Please submit a support ticket describing the situation, thank you!