Html code corrupted by quotation marks

3 posts, 0 answers
  1. Juan
    Juan avatar
    18 posts
    Member since:
    Mar 2012

    Posted 01 Nov 2012 Link to this post

    Hi everyone,

    I'm having a problem with an anchor with quotation marks into the InnerText, for example:

    <A id=classs36 title="This is my hyperlink " href="" code? html? my? in? damaged>This is my hyperlink "damaged" in my html code</A>
    As you can see, there are quotation marks inside the inner text and inside the title attribute, I think these quotation marks are causing the corruption in the anchor.

    When I see it on IE the code looks good, I haven;t tried in other browsers because the sit e is only supported for IE.

    Do you have any idea of how can i handle this?
    Please let me know asap,

    Thanks in advance!
  2. Juan
    Juan avatar
    18 posts
    Member since:
    Mar 2012

    Posted 01 Nov 2012 Link to this post

    Just adding more information...

    This problem is only with "straight quotes", not with curly quotes.
    The way that Internet Explorer show the straight quotes is replacing them with a single quote, could this be possible with Telerik Testing Framework?

  3. Plamen
    Plamen avatar
    8 posts

    Posted 07 Nov 2012 Link to this post

    Hello Juan,

    I am not sure how Telerik Testing Framework is involved in the issue you are describing. Could you please provide more information? A Jing video demonstrating the issue will significantly help us to better understand what is happening.

    Also, when using special characters like quotation marks, in order to make them show up on your pages, you need to use a special set of codes called character entities, which you insert into your HTML code and which your browser will display as the corresponding symbols or characters you want.

    For example, when you are using quotation mark in your html code you have to use - &quot;
    • This is my hyperlink &quot;damaged&quot; in my html code

    Here's a list of all special characters and character entities in html:


    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top