Assert.AreEqual(
"'this' is the text"
, img.Alt);
Expected string length x but was x-1. Strings differ at index 0. Expected: "'this' is the text" But was: "this' is the text"
No matter how long I wait.
Problem signature:
Problem Event Name: APPCRASH
Application Name: JetBrains.ReSharper.TaskRunner.CLR4.MSIL.exe
Application Version: 7.1.25.234
Application Timestamp: 50a26a13
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.17965
Fault Module Timestamp: 506dcae6
Exception Code: c000041d
Exception Offset: 000000000000bccd
OS Version: 6.1.7601.2.1.0.274.10
Locale ID: 3079
Additional Information 1: 577c
Additional Information 2: 577cd5470d84ea1c2b40baf699d1553f
Additional Information 3: 1099
Additional Information 4: 10997aaa278c368b022feba3068a6d6c
I found the same issue at http://youtrack.jetbrains.com/issue/RSRP-276146, but without any solution.
However, I´m translating webtests from selenium and WatiN, but this Problem only occurs with the Telerik Testing Framework.
I hope you can help me with this.
<
table
id
=
"descriptorTable"
class
=
"rf-dt table table-striped"
>
<
colgroup
span
=
"5"
></
colgroup
>
<
thead
id
=
"descriptorTable:th"
class
=
"rf-dt-thd"
>
<
tbody
id
=
"descriptorTable:tb"
class
=
"rf-dt-b"
>
<
tr
class
=
"rf-dt-r rf-dt-fst-r"
>
<
td
id
=
"descriptorTable:0:j_idt664"
class
=
"rf-dt-c"
style
=
"text-align: center;"
>
<
input
type
=
"checkbox"
onclick
=
"updateButtonState()"
name
=
"descriptorTable:0:j_idt665"
>
</
td
>
<
td
id
=
"descriptorTable:0:j_idt666"
class
=
"rf-dt-c"
style
=
"text-align: center;"
>ANEEIGP</
td
>
<
td
id
=
"descriptorTable:0:j_idt668"
class
=
"rf-dt-c"
style
=
"text-align: center;"
>2</
td
>
<
td
id
=
"descriptorTable:0:j_idt670"
class
=
"rf-dt-c"
style
=
"text-align: center;"
>
<
td
id
=
"descriptorTable:0:j_idt672"
class
=
"rf-dt-c"
style
=
"text-align: center;"
>
</
tr
>
<
tr
class
=
"rf-dt-r firefinder-match"
>
</
tbody
>
<
tbody
id
=
"descriptorTable:sc"
>
</
table
>
$(
'#descriptorTable tr:contains(\'ANEEIGP\') input'
);
Find.ByExpression<HtmlControl>(
"id=descriptorTable"
,
"|"
,
"tagindex=tbody:0"
).
Find.jQuery().tag(
"tr"
).contains(closedProejct).first<HtmlTableRow>().
Find.ByExpression<HtmlInputCheckBox>(
"tagname=input"
).Check(
true
,
true
);
Find.ByExpression<HtmlControl>(
"id=descriptorTable"
,
"|"
,
"tagindex=tbody:0"
).Find.jQuery().tag(
"tr"
).descendant()
.contains(closedProejct).parent().tag(
"tr"
).first<HtmlTableRow>().
Find.ByExpression<HtmlInputCheckBox>(
"tagname=input"
).Check(
true
,
true
);