Browser omitting ' at the beginning

2 posts, 0 answers
  1. Silvio
    Silvio avatar
    52 posts
    Member since:
    Dec 2012

    Posted 19 Dec 2012 Link to this post

    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

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 20 Dec 2012 Link to this post

    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
Back to Top