Vikas, How does it work in HttpUnit? As Nick said, what Cactus will give to your test case is a HttpUnit WebResponse object. Then you are of course free to call any HttpUnit method on it. Is there a method to execute javascript from the returned response? In which case you can call it from Cactus endXXX(WebResponse) method.
Cheer, -Vincent > -----Original Message----- > From: Vikas Malla [mailto:[EMAIL PROTECTED]] > Sent: 09 October 2002 21:34 > To: Cactus Users List > Subject: RE: javascript > > > i have this body tag in my test.jsp : > <body onload="parent.ReloadHomeWithNode('<%=node%>');" > bgcolor="<%=ub.getBGColor()%>"> > will this be executed when I retrieve test.jsp from cactus/httpunit > WebResponse object? > thanks. > > Nicholas Lesiecki <[EMAIL PROTECTED]> wrote: I think that Cactus will > support any Java-script related assertions > accessible from HttpUnit's WebResponse class (accessible in the endXXX > method for a given request-response cycle). Cactus itself does not provide > any support. What are you looking to do? > > Cheers, > Nick > > > -----Original Message----- > > From: Vikas Malla [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 09, 2002 12:54 PM > > To: [EMAIL PROTECTED] > > Subject: javascript > > > > > > > > This question is about javascript support. How well does cactus > > support javascript? i know httpunit support is increasing for > > Javascript 1.1, how does cactus fare in terms of javascript support? > > > > thanks. > > > > > > > > Yahoo! Properties Special Buy, sell, rent...your flat, or even > > post an ad > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > Yahoo! Properties Special Buy, sell, rent...your flat, or even post an > ad -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
