This is a migrated thread and some comments may be shown as answers.

Browser omitting ' at the beginning

1 Answer 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Silvio
Top achievements
Rank 1
Silvio asked on 19 Dec 2012, 02:56 PM
Hi,

I think I found a bug. When I try to get the alt-attribute from an image and the first char is a ', this char will be ommited. Once again I tried Thread.Sleep() to see if it maybe hasn't fully loaded yet, but without success.
When the text is "'this' is the text" and assertion is
Assert.AreEqual("'this' is the text", img.Alt);


the result will be

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.


Kind regards
Silvio

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 20 Dec 2012, 10:23 AM
Hi Silvio,

Thank you for reporting the issue. I was able to reproduce it and confirm it as a bug. You can track its progress and vote for the PITS Item here: Public URL.

I have updated your Telerik Points.

We appreciate your feedback, which we rely on to improve our product.

All the best,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Silvio
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or