|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Tests returning Fake False when checking special languages such us ChineseMy test is returning a fake false when I am testing sites in special languages such us Chinese,
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 |
||||
|
|
Re: Tests returning Fake False when checking special languages such us Chinese
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, _______________________________________________ WebTest mailing list WebTest@... http://lists.canoo.com/mailman/listinfo/webtest |
||||
|
|
Re: Tests returning Fake False when checking special languages such us ChineseYes 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
|
||||
|
|
Re: Tests returning Fake False when checking special languages such us ChineseI 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 <castagnolah@...>
|
||||
|
|
Re: Tests returning Fake False when checking special languages such us ChineseHi,
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 <castagnolah@... > <mailto:castagnolah@...>> > > 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 <garlos@... > <mailto:garlos@...>> 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 WebTest@... <mailto:WebTest@...> >> http://lists.canoo.com/mailman/listinfo/webtest > > _______________________________________________ WebTest mailing list WebTest@... http://lists.canoo.com/mailman/listinfo/webtest |
||||
|
|
Re: Tests returning Fake False when checking special languages such us ChineseThanks 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 <mguillemot@...> Hi, |
||||
|
|
Re: Tests returning Fake False when checking special languages such us Chinese2.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 <mguillemot@... <mailto:mguillemot@...>> > > 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 <castagnolah@... > <mailto:castagnolah@...> <mailto:castagnolah@... > <mailto:castagnolah@...>>> > > > 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 <garlos@... > <mailto:garlos@...> > <mailto:garlos@... <mailto:garlos@...>>> 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 WebTest@... > <mailto:WebTest@...> > <mailto:WebTest@... > <mailto:WebTest@...>> > > http://lists.canoo.com/mailman/listinfo/webtest > > > > > _______________________________________________ > > WebTest mailing list > WebTest@... <mailto:WebTest@...> > http://lists.canoo.com/mailman/listinfo/webtest > > -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com _______________________________________________ WebTest mailing list WebTest@... http://lists.canoo.com/mailman/listinfo/webtest |
||||
|
|
Re: Tests returning Fake False when checking special languages such us ChineseSure! Let me try it and I'll let you know.
Thanks Marc 2009/9/4 Marc Guillemot <mguillemot@...> 2.5 was the last *release* not the last *build*. |
||||
|
|
Re: Tests returning Fake False when checking special languages such us ChineseHey people this is fixed!!!
Thanks everybody for your help
|
| Free embeddable forum powered by Nabble | Forum Help |