[Webtest] richFaces Ajax + content not updated

Keusch Florian Keusch Florian" <florian.keusch@elca.ch
Tue, 8 Jul 2008 16:57:05 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C8E10A.E34D63D2
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

hi,
=20
we have a similar (or the same) problem described here:
http://lists.canoo.com/pipermail/webtest/2008q1/010096.html
=20
In our applications we have buttons duplicate box / delete box / new box
which are ajax requests. These modify the content of the page. For
example if I click on the button 'new box' then a new area appears
having this box inside.
=20
However i checked with http proxy the response of the server contains a
new box inside the xml data. But somehow webtest does not reload the
data it gets. It keeps the old data and tries to operate on it and fails
the next tests.
=20
Does anyone have a solution for this? Can I somehow patch webtest to
manually update the data? Or is there a fix?
=20
http://lists.canoo.com/pipermail/webtest/2008q1/010120.html=20
here you write that this will be fixed in htmlunit 2.0, but in webtest
1710 we use 2.1?
=20
=20
=20
using:
richFaces 3.1.4.GA / 3.2.0=20
canoo webtest r_1710
seam
=20
greetings Florian

------_=_NextPart_001_01C8E10A.E34D63D2
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16674" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2>hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial size=3D2>we =
have a similar=20
(or the same) problem described here: <A=20
href=3D"http://lists.canoo.com/pipermail/webtest/2008q1/010096.html">http=
://lists.canoo.com/pipermail/webtest/2008q1/010096.html</A></FONT></SPAN>=
</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial size=3D2>In our =
applications=20
we have buttons duplicate box / delete box / new box which are ajax =
requests.=20
These modify the content of the page. For example if I click on the =
button 'new=20
box' then a new area appears having this box inside.</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial =
size=3D2>However i checked=20
with http proxy the response of the server contains a&nbsp;new box =
inside the=20
xml data. But somehow webtest does not reload the data it gets. It keeps =
the old=20
data and tries to operate on it and fails the next =
tests.</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial size=3D2>Does =
anyone have a=20
solution for this? Can I somehow patch webtest to manually update the =
data? Or=20
is there a fix?</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial size=3D2><A=20
href=3D"http://lists.canoo.com/pipermail/webtest/2008q1/010120.html">http=
://lists.canoo.com/pipermail/webtest/2008q1/010120.html</A>&nbsp;</FONT><=
/SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial size=3D2>here =
you write that=20
this will be fixed in htmlunit 2.0, but in webtest 1710 we use=20
2.1?</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2>using:</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial =
size=3D2>richFaces 3.1.4.GA /=20
3.2.0 </FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial size=3D2>canoo =
webtest=20
r_1710</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2>seam</FONT></SPAN></DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D095454214-08072008><FONT face=3DArial =
size=3D2>greetings=20
Florian</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C8E10A.E34D63D2--