2.5 was the last *release* not the last *build*.

In the mean time HtmlUnit-2.6 is out and is already integrated in latest WebTest build. Can you try with it?

Cheers,
Marc.

Hernan Castagnola wrote:
Thanks Marc for your help. I think I am using the latest snapshot of htmlunit.

I using htmlunit-2.5.

As far as I check here http://htmlunit.sourceforge.net/ this is the latest build. Should I get the dev build?

Also the weird thing is that the same test but in another page is working correctly. I also tried to force this the header :

config (haltonerror: "false", haltonfailure: "false" , browser: "ff2" ,showhtmlparseroutput:"true") {
                    header name:"Accept-Charset", value:"utf-8"
                }


Why the encoding is working for one page and not for the other one?
Thanks,

Hernan

2009/8/20 Marc Guillemot <[email protected] <mailto:[email protected]>>

    Hi,

    which WebTest build do you use? If it is already the latest one, can
    you try to pick the latest HtmlUnit snapshot: if I correctly
    remember improvements have been made to guess the encoding.

    Cheers,
    Marc.

    Hernan Castagnola a écrit :

        I tried everything I could and it's still failing.

        I am still not sure why when it makes the comparison it's
        doesn't take the correct encoding but when I browse the page
        (the error page that is saved on the invoke) the title is the
        correct one.

        Thanks in advance for your help.

        Hernán

        2009/8/18 Hernán Castagnola <[email protected]
        <mailto:[email protected]> <mailto:[email protected]
        <mailto:[email protected]>>>


           Yes in fact when i Open the page that is saved by the invoke, the
           title shown is the correct one. Maybe i need to set something
        in the
           config step. I Will try simulating another Browser.

           Thanks,

           Hernan

           El 18/08/2009, a las 16:42, Gary Thomas <[email protected]
        <mailto:[email protected]>
           <mailto:[email protected] <mailto:[email protected]>>> escribió:

               I don't have the exact solution, but pointing out that
            the actual
               value below is the raw bytes from UTF-8.
               Does your webapp's response encoding return UTF-8 correctly?

               On 8/18/09 7:02 AM, Hernan Castagnola wrote:

                   My test is returning a fake false when I am testing
                sites in
                   special languages such us Chinese,

                   expected value      销售商品 广东省
                   actual value        销售商� 广东�



                   How ever when I invoke the page the title is the
                correct one. So
                   it's giving me a fake false.

                   Does anyone knows how can I fix this?


                   I am simulating ff3 and disabling javascript.

                   Thanks for your help


               _______________________________________________ WebTest
            mailing
               list [email protected]
            <mailto:[email protected]>
            <mailto:[email protected]
            <mailto:[email protected]>>

               http://lists.canoo.com/mailman/listinfo/webtest




    _______________________________________________

    WebTest mailing list
    [email protected] <mailto:[email protected]>
    http://lists.canoo.com/mailman/listinfo/webtest




--
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to