WebClient.setIgnoreOutsideContent should default to false to allow poorly 
formed pages to load correctly
--------------------------------------------------------------------------------------------------------

         Key: WT-430
         URL: http://webtest-community.canoo.com/jira/browse/WT-430
     Project: WebTest
        Type: Bug

    Versions: 2.6    
    Reporter: William Soula


The below html:
<html>
<head><title>I am a title</title></head>
<body></body></html>
<a href="www.google.com">Test</a>
</body>
</html> 

Fails for this test:
<config host="c:\WebTest HEAD\tests" protocol="file"/>
                        <invoke url="c:\WebTest HEAD\tests\test.html"/>
                        <clickLink label="Test"/> 

With this error:
Link not found in page file:/c:/WebTest HEAD/tests/test.html 

Marc said this is why it fails:
this simple example doesn't get parsed correctly because WebTest
configures WebClient.setIgnoreOutsideContent(true). I don't exactly
remember why we introduced it, but I think that such a simple invalid
html code should be handled correctly.

-- 
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

Reply via email to