[ http://webtest-community.canoo.com/jira/browse/WT-424?page=all ]
Marc Guillemot closed WT-424:
-----------------------------
Fix Version: Future versions
Resolution: Fixed
Assign To: Marc Guillemot
Latest version of NekoHtml is able to handle entities with a missing ";" and
therefore your test should work with a recent WebTest build.
With and oldest one, you problaby need to write the step this way:
<clickLink label="CENTRAL CHINA INDIA SERVICE&amp (CCI)"/>
> not handled properly in link labels
> ------------------------------------------
>
> Key: WT-424
> URL: http://webtest-community.canoo.com/jira/browse/WT-424
> Project: WebTest
> Type: Bug
> Environment: this is build 1700 of webtest
> OS X 10.4
> java 1.5
> Reporter: Douglas Fraser
> Assignee: Marc Guillemot
> Fix For: Future versions
>
> Webtest Recorder records the link I click as it's displayed (no &nbps; etc)
> ex: <clickLink label="CENTRAL CHINA INDIA SERVICE (CCI)"/>
> but when i run the test script created from this, webtest complain about not
> being able to find the link with such a label. the links found all have
>   in them
> ex: - label "CENTRAL CHINA INDIA SERVICE (CCI)" with url "....
> i.e. the <A> tag has   in it without the ;
> adding to the clickLink step does not work b/c it gets turned into a
> space and so the match fails, and   breaks the test xml b/c it needs the ;
> obviously the html is screwy and the browser is compensating for the missing
> ; - I thought tidy was run in some fashion and would have cleaned up the
> fetched html?
> in any case, I can work around this by working with the url value, but it
> probably is an example of a entire class of errors
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest